From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: shell-command - missing shell-quote-argument for program? Date: Sun, 15 Oct 2006 22:43:38 +0200 Message-ID: References: <452517DC.5010007@student.lu.se> <45251C56.8010603@student.lu.se> <4532884E.9070409@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160945127 6214 80.91.229.2 (15 Oct 2006 20:45:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Oct 2006 20:45:27 +0000 (UTC) Cc: Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 15 22:45:25 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GZCrI-0000xz-Hi for ged-emacs-devel@m.gmane.org; Sun, 15 Oct 2006 22:45:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZCrH-0003K9-W7 for ged-emacs-devel@m.gmane.org; Sun, 15 Oct 2006 16:45:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZCqR-0002Kx-FL for emacs-devel@gnu.org; Sun, 15 Oct 2006 16:44:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZCqP-0002Jr-Po for emacs-devel@gnu.org; Sun, 15 Oct 2006 16:44:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZCqP-0002Jd-Lt for emacs-devel@gnu.org; Sun, 15 Oct 2006 16:44:25 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GZCzK-00088u-Tr; Sun, 15 Oct 2006 16:53:39 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id CA7A4FAC01C; Sun, 15 Oct 2006 22:44:20 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <4532884E.9070409@student.lu.se> (Lennart Borgman's message of "Sun\, 15 Oct 2006 21\:13\:18 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60773 Archived-At: Lennart Borgman writes: > That is a misunderstanding. It is the variable prog inside that > defcustom that should be quoted with shell-quote-argument. prog must > point to a file so there is no problem here. > > I have attached a patch. > Index: lisp/shell.el > =================================================================== Thanks. Installed. -- Kim F. Storm http://www.cua.dk