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 10:58:49 -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 1224687589 30880 80.91.229.12 (22 Oct 2008 14:59:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 14:59:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 22 17:00:39 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 1KsfC3-0003Vq-FJ for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 17:00:17 +0200 Original-Received: from localhost ([127.0.0.1]:51471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsfAx-0003kp-4y for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 10:59:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsfAr-0003jR-VW for emacs-devel@gnu.org; Wed, 22 Oct 2008 10:59:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsfAo-0003j1-Ul for emacs-devel@gnu.org; Wed, 22 Oct 2008 10:59:01 -0400 Original-Received: from [199.232.76.173] (port=53991 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsfAo-0003iw-8v for emacs-devel@gnu.org; Wed, 22 Oct 2008 10:58:58 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:43984) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsfAj-00044z-Kc; Wed, 22 Oct 2008 10:58:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoEABvc/khFxLrB/2dsb2JhbACBcsRXg0+BCw X-IronPort-AV: E=Sophos;i="4.33,464,1220241600"; d="scan'208";a="28714877" Original-Received: from 69-196-186-193.dsl.teksavvy.com (HELO pastel.home) ([69.196.186.193]) by ironport2-out.teksavvy.com with ESMTP; 22 Oct 2008 10:58:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C7E798101; Wed, 22 Oct 2008 10:58:49 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Wed, 22 Oct 2008 06:31:53 +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:104846 Archived-At: >> The list of strings will be passed to call-process or start-process >> which ultimately will pass them to execv or somesuch: no shell in sight. > But the original string could have been a properly quoted shell > command, and those do use sh-style quoting. I do not understand: what makes you think it could be a properly quoted shell command? /We/ define what it can accept. And as of now, we (well, admittedly, IIUC, it's mostly just myself) decided that it accepts a syntax derived from Elisp string quoting, so if you feed it sh-style quoted strings, it won't work in general (tho it will if you stick to the common subset, of course). Stefan