emacs-devel
[Top][All Lists]
Advanced

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

Re: bug#1212: 23.0.60; split-string-and-unquote problems


From: Stefan Monnier
Subject: Re: bug#1212: 23.0.60; split-string-and-unquote problems
Date: Wed, 22 Oct 2008 21:18:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> >> I do not understand: what makes you think it could be a properly quoted
>> >> shell command?
>> > Because you said that working with shell commands was why these
>> > functions were invented in the first place.  And that is how they are
>> > used in Emacs as of now.
>> No, they're used to run commands.  Without going through a shell.
> Then why would one need quoting?

Because when you run a command with start-process or call-process, you
need to specify a list of strings (each being an argument), but the user
usually wants to enter the list within a single minibuffer.  So from the
string returned by the read-string (or equivalent) function, we need to
get a list of strings.


        Stefan




reply via email to

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