emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shell-quasiquote.


From: David Kastrup
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Mon, 19 Oct 2015 14:59:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

address@hidden (Taylan Ulrich "Bayırlı/Kammer") writes:

> address@hidden (Taylan Ulrich "Bayırlı/Kammer") writes:
>
>> This is for ELPA.
>>
>> [...]
>
> Here's a version with slightly improved documentation and a clearer
> reasoning for why shell-quote-argument is avoided.
>
> Eli refused to clarify the safety guarantees of shell-quote-argument in
> bug#21702, and after all it has significantly different semantics anyway
> (it doesn't quote shell keywords like 'if'),

Uh, why should it?

echo if

works just fine. So does

/bin/echo if

The only position where "if" is somewhat special is in command position
and that's not what shell-quote-argument is for.

Seriously, try getting used to the idea that Emacs has not been written
by idiots who would not manage to encounter or analyze basic bugs in
10 years of usage of a very frequently encountered function and that
you'll whip up something better within a minute.

That's just "not invented here" syndrome.

-- 
David Kastrup



reply via email to

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