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

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

bug#32304: 27.0.50; tramp-tests issue with double slash


From: Michael Albinus
Subject: bug#32304: 27.0.50; tramp-tests issue with double slash
Date: Mon, 30 Jul 2018 10:26:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

Hi Eli,

> Can you tell how binding system-type was supposed to solve this?

Some functions behave differently depending the system type Emacs is
running on. See for example `shell-quote-argument':

(shell-quote-argument "String with quotation mark \"")

=> "String\\ with\\ quotation\\ mark\\ \\\"" on `gnu/linux'.
=> "^\"String with quotation mark \\^\"^\"" on `windows-nt'

Often, Tramp needs the non-windows kind of result for the remote
host. So it is a common technique in Tramp to force this with
"(let ((system-type 'not-windows)) ...)".

Unfortunately, it doesn't work with `substitute-in-file-name'.  I will
look for another solution.

Best regards, Michael.





reply via email to

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