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: Eli Zaretskii
Subject: Re: shell-command - missing shell-quote-argument for program?
Date: Thu, 05 Oct 2006 21:58:10 +0200

> Date: Thu, 05 Oct 2006 16:34:04 +0200
> From: Lennart Borgman <address@hidden>
> 
> Should not the program name be quoted by `shell-quote-argment' when it 
> is possible?

Only when Emacs generates the program name itself.  When the program
comes from the user typing its name (typically, into the minibuffer),
it's the user's responsibility to quote whatever arguments need that,
precisely as she would when typing the command at the shell's prompt.
(Stefan pointed out one situation where the latter behavior is quite
necessary, but there are other similar cases as well.)




reply via email to

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