emacs-devel
[Top][All Lists]
Advanced

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

Re: shell-command - missing shell-quote-argument for program?


From: Dave Love
Subject: Re: shell-command - missing shell-quote-argument for program?
Date: Mon, 16 Oct 2006 23:33:47 +0100
User-agent: Gnus/5.11 (Gnus v5.11)

Lennart Borgman <address@hidden> writes:

>> I don't have the Emacs CVS version to hand, but if that has a problem,
>> please chase whoever changed it.  In my version the only instance of
>> `shell-command' is:
>>    (shell-command-to-string (concat python-command " -V"))
>> and I don't understand what you mean by referring to python-command.
>> Have you read its doc (or has that been changed too)?
>>
> My impression right now is that this special case could not be quoted
> since python-command could be a file name with arguments.

If you think there's any doubt about that expression, I'm afraid
you're quite confused, and I suspect you're confused about other
things.

>> The thing that is/was wrong in principle with command arg processing
>> in python.el is `python-args-to-list' -- see its fixme.  Similarly for
>> anything else that's copied the mechanism from cmuscheme.el.  (The
>> inferior interpreter mechanism is one of the things which should be
>> abstracted, though, rather than fixing individual versions IMNSHO.)
>>
> Thanks for the pointer. Has this been fixed in the version of
> python.el that you maintain yourself?

No, that would be a waste of time; forget I mentioned it.




reply via email to

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