From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug#1212: 23.0.60; split-string-and-unquote problems Date: Wed, 22 Oct 2008 21:18:20 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224724750 31038 80.91.229.12 (23 Oct 2008 01:19:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2008 01:19:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 23 03:20:11 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ksory-0002GJ-5G for ged-emacs-devel@m.gmane.org; Thu, 23 Oct 2008 03:20:10 +0200 Original-Received: from localhost ([127.0.0.1]:50419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ksoqs-0003aC-GT for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 21:19:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsoqF-0003Mn-So for emacs-devel@gnu.org; Wed, 22 Oct 2008 21:18:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsoqE-0003MB-Ik for emacs-devel@gnu.org; Wed, 22 Oct 2008 21:18:23 -0400 Original-Received: from [199.232.76.173] (port=42033 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsoqE-0003M4-7v for emacs-devel@gnu.org; Wed, 22 Oct 2008 21:18:22 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:53216) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsoqD-0002aC-5S; Wed, 22 Oct 2008 21:18:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAGtt/0hFxLrB/2dsb2JhbACBdr41g06BCw X-IronPort-AV: E=Sophos;i="4.33,467,1220241600"; d="scan'208";a="28749172" Original-Received: from 69-196-186-193.dsl.teksavvy.com (HELO ceviche.home) ([69.196.186.193]) by ironport2-out.teksavvy.com with ESMTP; 22 Oct 2008 21:18:20 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 30498B4099; Wed, 22 Oct 2008 21:18:20 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Thu, 23 Oct 2008 00:11:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:104880 Archived-At: >> >> 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