[Top][All Lists]

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

Re: [PATCH] Add shell-quasiquote.

From: Kai Großjohann
Subject: Re: [PATCH] Add shell-quasiquote.
Date: Sat, 07 Nov 2015 00:35:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

David Kastrup <address@hidden> writes:

> I think that M-x shell RET (namely interactive shells) should also cover
> csh and their ilk, and I consider it quite likely that
> shell-quote-argument will be called when preparing arguments to paste
> into the comint window.

One thing that could be improved, imho, is that shell-quote-argument
looks at the system it's running on and quotes for that.  But actually
it should quote for the shell that receives the result, and it's not easy
to know what that shell is.

For example, especially on Windows it's conceivable that some folks
would like to quote for cmd.exe, others would like to quote for
Powershell, and still others are Cygwin aficionados and would like to
quote for bash or zsh...

One idea might be that shell-quote-argument could look at shell-file-name.
I have no idea whether that would fly.


reply via email to

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