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

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

bug#23186: closed (Re: bug#23186: 25.0.92; Tramp: Windows does not alway


From: Michael Albinus
Subject: bug#23186: closed (Re: bug#23186: 25.0.92; Tramp: Windows does not always set COMSPEC, tramp blows up in a string-match)
Date: Sun, 03 Apr 2016 18:49:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

> The beauty of w32-shell-name is that you don't need to worry about the
> switch: cmdproxy supports both -c and /c (and even -C and /C).  So you
> can now safely use just "-c" for tramp-encoding-command-switch.
>
> Or, if you want to be extra-cautious, and protect Tramp from people
> who point shell-file-name or $SHELL at something weird, you can use
> w32-shell-dos-semantics: if it returns non-nil, use /c, otherwise -c.

I check (boundp 'w32-shell-name). This looks safe. If somebody uses
weird settings, she will loose.

> Thanks.





reply via email to

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