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 17:42:36 -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 1224711782 30279 80.91.229.12 (22 Oct 2008 21:43:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 21:43:02 +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 23:44:03 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 1KslUi-0002kY-0Z for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 23:43:56 +0200 Original-Received: from localhost ([127.0.0.1]:33475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KslTc-0001fQ-IJ for ged-emacs-devel@m.gmane.org; Wed, 22 Oct 2008 17:42:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KslTY-0001fB-MZ for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:42:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KslTW-0001dB-VR for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:42:44 -0400 Original-Received: from [199.232.76.173] (port=40395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KslTW-0001d3-Px for emacs-devel@gnu.org; Wed, 22 Oct 2008 17:42:42 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:35094 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KslTT-0006US-V8; Wed, 22 Oct 2008 17:42:40 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqAEAAw7/0hFxLrB/2dsb2JhbACBcsRkg06BCw X-IronPort-AV: E=Sophos;i="4.33,466,1220241600"; d="scan'208";a="28741340" 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 17:42:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D51088101; Wed, 22 Oct 2008 17:42:36 -0400 (EDT) In-Reply-To: (Eli Zaretskii's message of "Wed, 22 Oct 2008 21:43:20 +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:104870 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? > 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. > Are you saying that modes that work with shell commands, such as GUD, > should not use these functions, because they don't generally support > the full syntax of quoted shell commands? IIUC GUD does not use a shell, so it can use this just fine. Stefan