GNU bug report logs - #32304
27.0.50; tramp-tests issue with double slash

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Sun, 29 Jul 2018 15:55:01 UTC

Severity: normal

Found in version 27.0.50

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32304 <at> debbugs.gnu.org, kbrown <at> cornell.edu
Subject: Re: bug#32304: 27.0.50; tramp-tests issue with double slash
Date: Mon, 30 Jul 2018 10:26:43 +0200
Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 6 years and 290 days ago.

Previous Next


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