emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add shell-quasiquote.


From: Eli Zaretskii
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Wed, 21 Oct 2015 17:05:10 +0300

> From: Random832 <address@hidden>
> Date: Tue, 20 Oct 2015 23:25:43 -0400
> 
> > That's also my point, exactly.  Any code in Emacs should use standard
> > APIs, and if those APIs need to be fixed, they should be fixed
> > regardless.  But the need to be fixed does not mean the APIs should be
> > bypassed.
> 
> Strictly speaking, Emacs doesn't *have* an API for "quote for POSIX
> shells"

Of course it does: it's called "shell-quote-argument".  It does
support Posix shells.

> The objection to the feature of only supporting POSIX shells is
> substantive but has little to do with bypassing an API.

That objection is not the primary consideration, it was just the first
thing that caught my eye (because a comment in the code explicitly
said so).  The primary consideration is the need to use established
interfaces for standard jobs.



reply via email to

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