From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Re: shell-command - missing shell-quote-argument for program? Date: Sun, 15 Oct 2006 16:14:50 +0200 Message-ID: <20061015140045.C40C.SLAWOMIR.NOWACZYK.847@student.lu.se> References: <4531032D.6060708@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1160921719 30272 80.91.229.2 (15 Oct 2006 14:15:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Oct 2006 14:15:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 15 16:15:19 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 1GZ6ln-0007JY-4n for ged-emacs-devel@m.gmane.org; Sun, 15 Oct 2006 16:15:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZ6lm-0006Fo-I5 for ged-emacs-devel@m.gmane.org; Sun, 15 Oct 2006 10:15:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZ6lY-0006DQ-Pe for emacs-devel@gnu.org; Sun, 15 Oct 2006 10:15:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZ6lU-00067m-IZ for emacs-devel@gnu.org; Sun, 15 Oct 2006 10:14:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZ6lU-00067U-57 for emacs-devel@gnu.org; Sun, 15 Oct 2006 10:14:56 -0400 Original-Received: from [130.235.16.11] (helo=himmelsborg.cs.lth.se) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GZ6uO-0003ZW-BI for emacs-devel@gnu.org; Sun, 15 Oct 2006 10:24:08 -0400 Original-Received: from [127.0.0.1] (slawek@dain [130.235.16.76]) by himmelsborg.cs.lth.se (8.13.6/8.13.6/perf-jw-tr) with ESMTP id k9FEEnFe006910 for ; Sun, 15 Oct 2006 16:14:50 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: <4531032D.6060708@student.lu.se> X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.25.02 [en] 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:60761 Archived-At: On Sat, 14 Oct 2006 17:33:01 +0200 Lennart Borgman wrote: #> >> - python-after-info-look: python-command #> > #> > But python.el seems to limit this to no whitespace, no? If so, #> > there's no need to quote. #> #> Could it really be true that files that are arguments to python can #> not contain spaces? Why should it apply here anyway, this is the #> program path (and perhaps something added after that). #> #> I thought however before that it was not needed according to our earlier #> discussion, see #> http://lists.gnu.org/archive/html/emacs-devel/2006-10/msg00231.html. #> python-command could include more than just the program name, perhaps. #> #> But on the other hand -V is concatenated to the command here so I #> quess it is just the program path and that it should be quoted. Doc string of python-command contains this: "Note that IPython may not work properly; it must at least be used with the `-cl' flag, i.e. use `ipython -cl'." I do not know if python-mode really works with IronPython, but if we are advising people to include flags in python-command, we probably should not be quoting it. -- Best wishes, Slawomir Nowaczyk ( slawomir.nowaczyk.847@student.lu.se ) Smoking helps you lose weight -- one lung at a time!