emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shell-quasiquote.


From: Michael Albinus
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Sun, 01 Nov 2015 23:34:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> >> It doesn't have a documented way for the caller to insist that the
>> >> string be quoted for a POSIX shell rather than the user's shell.
>> >
>> > On what OS would that distinction be important, and why?
>> 
>> Tramp is an example: it runs a Bourne-ish shell on the remote host, and
>> thus it would like to quote shell arguments for that shell.
>
> That's easy to fix by adding an optional 2nd argument, I think.

If Tramp would be the only package addressed by this change, it's not
necessary. Tramp knows how to handle the situation, and it wouldn't give
up its own solution for a long time due to backward compatibility.

But feel free to install such a change if you think it is worth. And
this optional argument shall also say the type of shell quoting
(bournish, windows-like, ...). In tramp-smb.el we have exact the reverse
situation: The local shell is likely to be bournish, but the remote host
(accessed via smb-client) expects a windows-like argument quoting.

Best regards, Michael.



reply via email to

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