[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: |
Thu, 22 Oct 2015 16:50:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Random832 <address@hidden> writes:
> David Kastrup <address@hidden> writes:
>> This bears absolutely no relation to shell-quote-argument as
>> shell-quote-argument has only a very small well-described job.
>
> shell-quote-argument has *no job at all* without shell-command.
Disagree. There are lots of ways for constructing commands and
arguments for shells that don't work via shell-command. Take M-x shell
RET alone and its TAB completion. Or the TAB completion for commands
like M-x grep. Or the operation of Tramp.
> Its purpose is a helper function for building strings to pass to
> shell-command.
To pass to some command executing a shell in its bowels.
> And I am becoming increasingly confused as to what the purpose of
> shell-command is.
>
> And anyway I obviously wasn't even talking about shell-quote-argument
> anymore, I was talking about the idea of adding a
> "posix-shell-command" function [which would naturally need a
> posix-shell-quote-argument], so saying "it's irrelevant to
> shell-quote-argument" is unreasonable.
The problem of "posix-shell-command" is that POSIX shells don't fall
from the tree. It is something outside of the power of Emacs to provide
or guarantee.
--
David Kastrup
- Re: [PATCH] Add shell-quasiquote., (continued)
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., David Kastrup, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., Random832, 2015/10/22
- Re: [PATCH] Add shell-quasiquote.,
David Kastrup <=
- Re: [PATCH] Add shell-quasiquote., Stephen J. Turnbull, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/22
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Werner LEMBERG, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Werner LEMBERG, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Eli Zaretskii, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., John Wiegley, 2015/10/21
- Re: [PATCH] Add shell-quasiquote., Paul Eggert, 2015/10/20
- Re: [PATCH] Add shell-quasiquote., Taylan Ulrich Bayırlı/Kammer, 2015/10/20