[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: |
Mon, 19 Oct 2015 15:09:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
David Kastrup <address@hidden> writes:
> 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.
It was not criticism of shell-quote-argument (those are separate).
Indeed it quotes arguments. My variant also quotes things that may be
the name of the command and not an argument.
> 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.
Don't put words in my mouth please. The topic has been discussed in
length on the bug report page anyway, I'm not continuing that.
Taylan
- Re: [PATCH] Add shell-quasiquote., (continued)
Re: [PATCH] Add shell-quasiquote., Artur Malabarba, 2015/10/17
Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/19
- Re: [PATCH] Add shell-quasiquote.,
Taylan Ulrich Bayırlı/Kammer <=
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Paul Eggert, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Paul Eggert, 2015/10/19
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Nicolas Richard, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Dmitry Gutov, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Dmitry Gutov, 2015/10/20