emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shell-quasiquote.


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Tue, 20 Oct 2015 19:11:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Paul Eggert <address@hidden> writes:

> Taylan Ulrich Bayırlı/Kammer wrote:
>> (shell-command (shqq (./foo bar baz)))
>> /bin/bash: ./foo: No such file or directory
>>
>> I don't see a problem.
>
> Nor do I. And you can use the same technique to run "./break" or
> "/bin/break", should anyone be crazy enough to create a file with
> either name. The point is that shqq's quoting mechanism doesn't work
> any better than shell-quote-argument does for contrived examples like
> "break".

I didn't say it would work better in that case.

>> I will use shell-quote-argument once the real problem with it is fixed.
>
> No case has been presented that there's a significant problem with
> it. The argument that one might want to run an executable named "if"
> is, as you say, a trivial one, i.e., not significant.

Yes, a serious case has been presented multiple times.

Taylan



reply via email to

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