From unknown Tue Jun 17 01:47:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2021 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48397@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16209120421272 (code B ref -1); Thu, 13 May 2021 13:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2021 13:20:42 +0000 Received: from localhost ([127.0.0.1]:41670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBGZ-0000KO-A9 for submit@debbugs.gnu.org; Thu, 13 May 2021 09:20:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:35726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBGU-0000KD-1i for submit@debbugs.gnu.org; Thu, 13 May 2021 09:20:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhBGT-0001vr-S8 for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 09:20:33 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:38577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhBGQ-0001iP-4l for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 09:20:31 -0400 Received: from localhost ([::ffff:102.82.130.112]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000ABF33.00000000609D279B.0000162D; Thu, 13 May 2021 06:20:26 -0700 From: Jean Louis Date: Thu, 13 May 2021 16:15:56 +0300 Message-ID: <86cztu7p0z.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, GAPPY_SUBJECT=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.0 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) 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. IMHO, in case of Tramp mode, I suggest that `html-mode' uses some temporary file for the preview. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-05-13 built on protected.rcdrun.com Repository revision: ec574a72f7198d9793b466f33382fff397ac4ce1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Parabola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 54673 8005) (symbols 48 7125 3) (strings 32 19972 2224) (string-bytes 1 638390) (vectors 16 14090) (vector-slots 8 182012 10644) (floats 8 23 47) (intervals 56 240 0) (buffers 992 11)) -- Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns From unknown Tue Jun 17 01:47:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2021 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jean Louis Cc: 48397@debbugs.gnu.org Received: via spool by 48397-submit@debbugs.gnu.org id=B48397.162091552017969 (code B ref 48397); Thu, 13 May 2021 14:19:01 +0000 Received: (at 48397) by debbugs.gnu.org; 13 May 2021 14:18:40 +0000 Received: from localhost ([127.0.0.1]:44028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhCAi-0004fl-3u for submit@debbugs.gnu.org; Thu, 13 May 2021 10:18:40 -0400 Received: from mout.gmx.net ([212.227.15.15]:49739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhCAd-0004fT-PO for 48397@debbugs.gnu.org; Thu, 13 May 2021 10:18:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620915478; bh=CK5w602DgZ4geheOgtrhJ8p+YPQdpnmx8Z0ApWgd/uM=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=DUUKOjqnWl60dA/m41rLE1FyRDlQruUiDplzSIQrLvokKz1mWUfkWtE2jBXPyGxj7 OJNCxOHzVzIYQ8h12dLe49/Gbf1cO5yNmwKUCQB8FOLYNXXodGTGQpK5PAjy09ieL0 zg6N6j0XnSxka3ClBLhpW5/a3ixAllwm3bxMD6BU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.156.156]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MtfNl-1lMmfB2gLX-00v93Q; Thu, 13 May 2021 16:17:58 +0200 From: Michael Albinus References: <86cztu7p0z.fsf@protected.rcdrun.com> Date: Thu, 13 May 2021 16:17:57 +0200 In-Reply-To: <86cztu7p0z.fsf@protected.rcdrun.com> (Jean Louis's message of "Thu, 13 May 2021 16:15:56 +0300") Message-ID: <87o8deemzu.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:2cuH6MB3Cz3FhbhPEazqzvigaXa4Dk8uWo25D6/T6rre1EAb6vk PJZy2XgGpJHlDFElQpJTSpmhBknHP5OHNUmPU8N56hP/7KCXkjsiX4fmvkGDkNARBgJKE/A X0n5e1Yg5NqJAoYni11ngAbXiv+PnXxpZNSPcF88r1YkF6utAXAB71VW2fUju2N3ryWmzFF mQb7QcPH6s2JeMUiiW8hQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JB/Q0wAFJLk=:CWxFxWT7W0GSwLV49RjLM+ 2ncqU3HNAV0sQ70d5LdaU23AbnAOWtgXirFWAyuQDIQ+UPSYQmj9zCErvJ9vetlT7x2kw6isn hvQKSgpW8ZxErk/7DnxrUZ+OQvJmntkB1/sQgz6eyAhYcasI+ZXNpZ84QiyLPC7Zy797zCHlv 2cOgGp+DP6d6yWmukxTgAYRVyTwz4ukW/jJPmbNgfbOahpmOWx9QD0KtCChQHpbZTAGU+KD1p QbFethc1i0fohHKwJ60mWB1JTvbCWwqPjo2aGxb65Sj1DxZc/lAY1I7z4lK4z5eU2Exkhu9v9 znSRLaDrxcWzsZwN/CXxmLura0y6qThM6fKqShZ0+SdseHKfarhMy4EXmOnbObhnwkNTF8hyk zJRA6qhVa5E6RJWOBk4QnYy7wbOPEvCFpg2CiQWRiPEQUQ1NwwOMwmKPBdSgQcHsx9f1gbpKg Cp2pJrB3hrQ0ObApULb0yu3oWQPYNgruY+Y08eDHxJP5Nq6hFnHPn+9+5g9WYSoCG6ojSZODt /QU2DfSkws86dk/eGmjAiKgYsE1IWqTb/S7IpzG9ZFoE1AVhgEUO/ADBItFY7HWgQ0s0R8YP0 lrBLK80dZTeL1f/CPl+/zzhGSt0aZNffwforq2QqpopkP9w9KL36T5DK6zheBm7tcO0FFDU64 FMu1zTQjQ/ZnVlwRvFKPbMKxKFqHM7HYckLaku+QSyuo2CPxKW1rOW32N08XpfPPIixziyvVG trQcmbE8IyLFpPafFyHS5oEWr/cED1ZryC0/141LSY5iK1HKOWRF9G70rmPDhnIdiaN7ztSkY coT7qzcr0JJrgp9EB3zsDNpY4DdktteYR41zxPJeRa4SPTtb5oeQJ8tNuzTxL4uJ9Xivpb6n+ 55ZOO9wti59Iuj3tKfyF5CaWjA0wpPls9w9J16/rKwXEmuv1uGQ7P42jffNX1CfHfAH+NSYgC TXarMzh9Fz7i7VIJeD0bRtfaVU1LiuVzyvk7bSPlWyySf/+Unmf2sZtHHyWqzNikdVmQeMxAZ 7+dv0YfI3+zfxyECSTRnQee2ct/LnEGPE80AkfOwryb9LXDA4nAlacMVABzwmnPvg/BZzbGaN iM1hnqXYV3p+zla86hnqkcnk483sq/AeFdgMGl39WuQqrlv+eSle//dUsgqORnf8Z6+VQ6Z/E VJsmWkLp5FANtc5Fry1c3STrAV4hBj2KmCcmlRrkLR/o0KfPKRx0a6X1YMMG35gFKq2L7jT+R eNcWOjCsadFHkIyCV X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Jean Louis 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. From unknown Tue Jun 17 01:47:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Jun 2021 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 48397@debbugs.gnu.org Received: via spool by 48397-submit@debbugs.gnu.org id=B48397.162291016332311 (code B ref 48397); Sat, 05 Jun 2021 16:23:02 +0000 Received: (at 48397) by debbugs.gnu.org; 5 Jun 2021 16:22:43 +0000 Received: from localhost ([127.0.0.1]:49959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpZ4N-0008P5-GS for submit@debbugs.gnu.org; Sat, 05 Jun 2021 12:22:43 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:34237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpZ4L-0008Oq-UI for 48397@debbugs.gnu.org; Sat, 05 Jun 2021 12:22:43 -0400 Received: from localhost ([::ffff:197.157.0.46]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000AE2B0.0000000060BBA4CA.00002BB6; Sat, 05 Jun 2021 09:22:34 -0700 Date: Sat, 5 Jun 2021 19:19:08 +0300 From: Jean Louis Message-ID: References: <86cztu7p0z.fsf@protected.rcdrun.com> <87o8deemzu.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87o8deemzu.fsf@gmx.de> User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * Michael Albinus [2021-05-13 17:18]: > Jean Louis writes: > > Hi, > > > I am observing a situation where I have opened HTML file over Tramp, and > > presse [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [197.157.0.46 listed in dnsbl.sorbs.net] 0.1 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.6 (/) * Michael Albinus [2021-05-13 17:18]: > Jean Louis 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? Sorry being late. File name is: /data/data/com.termux/files/home/index.html -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/ From unknown Tue Jun 17 01:47:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Jun 2021 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Michael Albinus Cc: 48397@debbugs.gnu.org Received: via spool by 48397-submit@debbugs.gnu.org id=B48397.162291016632347 (code B ref 48397); Sat, 05 Jun 2021 16:23:02 +0000 Received: (at 48397) by debbugs.gnu.org; 5 Jun 2021 16:22:46 +0000 Received: from localhost ([127.0.0.1]:49966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpZ4Q-0008Pa-4R for submit@debbugs.gnu.org; Sat, 05 Jun 2021 12:22:46 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:44517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpZ4O-0008Ov-NZ for 48397@debbugs.gnu.org; Sat, 05 Jun 2021 12:22:45 -0400 Received: from localhost ([::ffff:197.157.0.46]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000AE2D8.0000000060BBA4CE.00002BC4; Sat, 05 Jun 2021 09:22:37 -0700 Date: Sat, 5 Jun 2021 19:20:21 +0300 From: Jean Louis Message-ID: References: <86cztu7p0z.fsf@protected.rcdrun.com> <87o8deemzu.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <87o8deemzu.fsf@gmx.de> User-Agent: Mutt/2.0.7+183 (3d24855) (2021-05-28) X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * Michael Albinus [2021-05-13 17:18]: > Jean Louis writes: > > Hi, > > > I am observing a situation where I have opened HTML file over Tramp, and > > presse [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [197.157.0.46 listed in dnsbl.sorbs.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 GAPPY_SUBJECT Subject: contains G.a.p.p.y-T.e.x.t X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.6 (/) * Michael Albinus [2021-05-13 17:18]: > Jean Louis 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 To reproduce: - access Android/LineageOS/Replicant phone by using scp Tramp connection; - find any file like index.html - when file is opened, C-c C-v to preview HTML file; -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/ From unknown Tue Jun 17 01:47:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Jun 2021 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jean Louis Cc: 48397@debbugs.gnu.org Received: via spool by 48397-submit@debbugs.gnu.org id=B48397.162306661019865 (code B ref 48397); Mon, 07 Jun 2021 11:51:02 +0000 Received: (at 48397) by debbugs.gnu.org; 7 Jun 2021 11:50:10 +0000 Received: from localhost ([127.0.0.1]:54582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDli-0005AL-NB for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:50:10 -0400 Received: from mout.gmx.net ([212.227.15.18]:55111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDlf-00059v-BA for 48397@debbugs.gnu.org; Mon, 07 Jun 2021 07:50:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623066570; bh=SP2G/a0aGGnF6+Gy1uv8o2ZBmOtScIXk9JItId1Z9Z0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=XJx81OiAEff44k8dOMf/4Cl152Ba3VWrRataiR2pDe7cDPCLWPzqyWSYpLuQ/mKEN COYSNF/IJ+l+VCjsEXsMMEx1AvTp8Ek+EKoqhhJfEiic/rGoqLhhJQOuP5i4lnozgf xkcURqdQ5sG088/geEviXXOZ/QhCKfx+DE2fVynk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.158.227]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N8XPn-1lLxD103zV-014WjL; Mon, 07 Jun 2021 13:49:30 +0200 From: Michael Albinus References: <86cztu7p0z.fsf@protected.rcdrun.com> <87o8deemzu.fsf@gmx.de> Date: Mon, 07 Jun 2021 13:49:29 +0200 In-Reply-To: (Jean Louis's message of "Sat, 5 Jun 2021 19:20:21 +0300") Message-ID: <87fsxt3nee.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:HV6yald+xbb2SvNrh7DuA5n3ZP1k0VSXW5LJ/rv50etWMIg9M9I int7DhNqKqU7vJ/NHSdymp0Zmn0SAyS+h1TZein1hGbnXgjTvc7iobhJp1J37IHtsnnx6hR 4X30onqR72Zb004HePYvE25JCjeldIVEvG0eeyZtLUxOgXKZ1yiRcTIEg0BZuKknePCzKrh FcrVfGF4/Nq/D6E4xFGJg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5aMC5XwXbXg=:YjZcaN993ZjdzOPRRyFJsV VFVbH7AYik2pbKkn/d98evCcQ5g1HWD/+SGRPBce6Hwcpolsw0Mn0hHoEUfDCrAwmyniHfjZ2 U6UbV0cV5Z+LH95ZYNbXO0mzu4FZ0PkocVfitLOiR64wO4i0duPJN/CCLtZGt64YEq2MvmSWH omwVxouP8VTzJZfrD8rKpQdK9p/MrOKV7ko8wlucMz+LfaF/G5ayvFVYo1F4eRW0R9c3aaVZo U4FyFIuxDUaxPk3vt1kP1ssXnLNjcQuyGvGOa1Dc1uRH5TTSEfkkkA7W4HV7m6EgYQ2cL83I+ O2T2ufMBh6Q5CXT1hrkwPIc5Qi0+K66us7rcCsCff7j5yalrH92Lm28/7Irg6Qusj5BNaMr46 3RWLS/GR74pVbYtCofcQkRNWZSISNvRD9h1dwiCGE3zvSveKjmEsMBG+t59RI53ANe4fUT/j/ bdRxSStuGLmtf/0LNfupi1V2G5Nlcp1EV+ChI9qauRfqIXBFPAN4moJQ+dYlXCngMAq8SBQhJ AqyqrxuEoyh6z4oREihsQO5YDNrhnVwG4sq4N2SKUxZJVWnP+Ar1CZwoLtUM0waW2nEkoDc3q 2iz8kKkWWRObx7XzfUQU3OX4NQIFMT2XGhYKTCIsaBVtz8KdVLi2UliGIHzxqG6bRPSUCXVv4 6jUmOPQjOxMTJiTAo/Gm+Km44KN1lkMMsPJNaFaGQs40ljzWRgsqVVpnWeByzjZn/aKcQGOxE 29Ijbyf43rzXqYjBtaxi/PKViE/EpOHMKPHQop9jnxFU9/Bn6+fxxImExUv0661NSRUS/UcFs XmoJQJDrA6hf8Fy/AnNEeF+hmU2DSCTc4MC4Bfmz78sjfeq5ewvOFaqOhyu66utThRMZpIiuk ZBIxgtDGbsEi68xhsg96iTXGnF5QLFqJQxwdjp6dI0iaQk5U92VXqKwgFCNn3CKxknmauTZDi 6t0x+zjYfumCx7bV9yz3ZRzfi24dF8ucZhavWdChXscFihwwb8UPbdazKp0SQqOcq9nOMTdMW gEvGLeEgWWANSyzgMTvHlABdGZTFMC2gq7i9bg12RZEGlj5zsOypycIoc/1JwyrhPQgf9qiaW qFaL9flYcaD3Xr9yy198YbuBbsSdFmvS+mvsGLjZGGBoUpsyumCAY1aPg== X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) Jean Louis writes: Hi Jean, > To reproduce: > > - access Android/LineageOS/Replicant phone by using scp Tramp > connection; > > - find any file like index.html > > - when file is opened, C-c C-v to preview HTML file; browse-url-of-buffer uses already temporary files in some cases. I've added the remote file name case; shall work now for you. Pushed to master. Best regards, Michael. From unknown Tue Jun 17 01:47:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jean Louis Subject: bug#48397: closed (Re: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp) Message-ID: References: <87y2bck6ak.fsf@gmx.de> <86cztu7p0z.fsf@protected.rcdrun.com> X-Gnu-PR-Message: they-closed 48397 X-Gnu-PR-Package: emacs Reply-To: 48397@debbugs.gnu.org Date: Mon, 14 Jun 2021 11:59:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1623671941-6503-1" This is a multi-part message in MIME format... ------------=_1623671941-6503-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48397@debbugs.gnu.org. --=20 48397: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48397 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1623671941-6503-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48397-done) by debbugs.gnu.org; 14 Jun 2021 11:58:02 +0000 Received: from localhost ([127.0.0.1]:45154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lslEA-0001fg-79 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 07:58:02 -0400 Received: from mout.gmx.net ([212.227.17.20]:48145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lslE8-0001fD-Qs for 48397-done@debbugs.gnu.org; Mon, 14 Jun 2021 07:58:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623671844; bh=iRe6imUX5BVE+CGlo6qpwul4VDPK23M0Sw7h6K63OhQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=gw9zbfzFcInWvljXf01ZIQyGXROOrzuPkKj3YjYz9MP5c2mwf01leIVQNbMZoHBSN k0of+dIe1kKfgbnPtsPpmlL426JRXFaHgzTT9Pg43WGesNVWkygxKrG2vhVKcRXoxX USjG2PzKnU5n7X0x/dW2liWNYoYPNKNX2R+hEdIg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([79.140.118.238]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKsj7-1lbvKA3IXV-00LGiY; Mon, 14 Jun 2021 13:57:23 +0200 From: Michael Albinus To: Jean Louis Subject: Re: bug#48397: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp References: <86cztu7p0z.fsf@protected.rcdrun.com> <87o8deemzu.fsf@gmx.de> <87fsxt3nee.fsf@gmx.de> Date: Mon, 14 Jun 2021 13:57:23 +0200 In-Reply-To: <87fsxt3nee.fsf@gmx.de> (Michael Albinus's message of "Mon, 07 Jun 2021 13:49:29 +0200") Message-ID: <87y2bck6ak.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:szhxfqbTqPuQ/nDFTCwBooRcW2XXyKfgm91LC9cPkf2KXCgNBkV kwkIqzImzfOqO/5sZr4PGY8jtsowxnAPQTwWcZ7di5lV5Ytny6lHmjyvkDlM4+weO0iyOnb olVYF+X2khRBjLx2Cm+jmktx09SGfDqi72IRf6kZUuBC0qzNo6Ck/vC111/AT5Rfo73/UMK CfPHjBwO0ioydCz856rxA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:k+PgPAsChf8=:PxuiaZD+Chcj3GAdW6qp0B BBuPlstrjDoXzvco8TQirMasznFKb6cVfE5qGJ18pIWKFXgMLy31AngWjdhD0MREDGtC5x2bx GkhvmLScD4c0CVhJ/jSiu7ZPLnIK4iL12XczNXrbF23+wFNQsonRNLf9hwRkK2MmBIORsl2U9 V0aeB6oB5qEwQh0cg+Tdgevb4ipb6ToVuz5GOA7FH1i1Dn51hF+lCNuvhFiRhNPmgyIMSsMXn jVUtXvi94QjlPeYWbk21c4mIyQo+D92JqjE2ty3viZdbFvClkIAA4KudTQHnwzuNhzk2E5oSX I5t72qzpySACQD7yyv4zgRmBAex51ralQm4j3TBLRhQAZ4vCNWYlBwmLvnm1KWxQT4JfJ5qXr xDftU8Bf67CU6M4Ge2m1UbsJp7o+bJbF5n+dnsM29hOKuysfpjRRViOrQIOOt60UwkJ23PuW2 IS+2jQTKW8ZHnWSotPRIiFIOWJeWRB0mZOqZdEC2Ax0eDNpcqDhEoWhgt/RWM5XAAygNYiyhx oMKdu5fjLnqV9a3jwAVxK6tnbYv87asdZoIgP3yEsZzMiCLyOJamguVp8/uCt9/zJC9i3bjiF iDvBrrjdHI/NGcH9CtPmteZT8Z8VwVUK44GW1ivWME4JgkcSd2Beq7dmj78LWJHEV20EzTjzN O91JwORbl1UX+c899k0Fb1NhjTysOIPBFD7t6QMJuVXP/zfaeI7MjkURy9dxwVXvR04y68n3L kXroovzEaZiKafuGKZmS/hPRhxHh3c7pgNlgELhZRlbh+4PCZCiIikbRMwDfIiv6bFzLuAecE +wSWbNZyWrH4LWauCYD1dKj9cVA2IN0SFrccyBf/YMoTYXPAF8tkSmLEk4WXZU9J+8Go2aFAi 4vAwot9bgvTHOfBeNGT3rKTisLRV6sR44+USdZTKndfKKwz55AAHR9zRK6kGRhoGwjdX+SSF0 cRxWc7u2UY7V01w/RJ4liab8mgcY0PvT4Euj4yT6E90nU7GAZPJ3+z/BxwQgXxMLgwL9kQtdH XF+VKwAaf3qgZMZP6S/o/p4KyqaX/hTP/cUunWysj+hiRnY4hCo5C/2NjvKmd8dbbO60HnUZX Vc/XulCD4eQYPI3ZQT+axWyLbyi9VmEr71DjaFN21Ck6ECPlEKFPJtWrQ== X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 48397-done Cc: 48397-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.9 (/) Version: 28.1 Michael Albinus writes: Hi Jean, >> To reproduce: >> >> - access Android/LineageOS/Replicant phone by using scp Tramp >> connection; >> >> - find any file like index.html >> >> - when file is opened, C-c C-v to preview HTML file; > > browse-url-of-buffer uses already temporary files in some cases. I've > added the remote file name case; shall work now for you. > > Pushed to master. No complaint, so I'm closing the bug. Feel free to reply if there are further problems. Best regards, Michael. ------------=_1623671941-6503-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2021 13:20:42 +0000 Received: from localhost ([127.0.0.1]:41670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBGZ-0000KO-A9 for submit@debbugs.gnu.org; Thu, 13 May 2021 09:20:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:35726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhBGU-0000KD-1i for submit@debbugs.gnu.org; Thu, 13 May 2021 09:20:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhBGT-0001vr-S8 for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 09:20:33 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:38577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhBGQ-0001iP-4l for bug-gnu-emacs@gnu.org; Thu, 13 May 2021 09:20:31 -0400 Received: from localhost ([::ffff:102.82.130.112]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000ABF33.00000000609D279B.0000162D; Thu, 13 May 2021 06:20:26 -0700 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Wrong URL from C-c C-v in html-mode over Tramp Date: Thu, 13 May 2021 16:15:56 +0300 Message-ID: <86cztu7p0z.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, GAPPY_SUBJECT=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) 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. IMHO, in case of Tramp mode, I suggest that `html-mode' uses some temporary file for the preview. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-05-13 built on protected.rcdrun.com Repository revision: ec574a72f7198d9793b466f33382fff397ac4ce1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Parabola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 54673 8005) (symbols 48 7125 3) (strings 32 19972 2224) (string-bytes 1 638390) (vectors 16 14090) (vector-slots 8 182012 10644) (floats 8 23 47) (intervals 56 240 0) (buffers 992 11)) -- Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns ------------=_1623671941-6503-1--