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: Quote file name args to start-process-shell-command? Date: Sat, 14 Oct 2006 12:57:50 -0400 Message-ID: References: <452D54D8.7060705@student.lu.se> <452DDBC8.2060606@student.lu.se> <85y7rmou5t.fsf@lola.goethe.zz> <85d58xq3xd.fsf@lola.goethe.zz> <858xjlq2x8.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160845103 27567 80.91.229.2 (14 Oct 2006 16:58:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2006 16:58:23 +0000 (UTC) Cc: stephen_leake@member.fsf.org, emacs-devel@gnu.org, lennart.borgman.073@student.lu.se, schwab@suse.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 14 18:58: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 1GYmq1-0001Rd-9R for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2006 18:58:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYmq0-0004T8-VW for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2006 12:58:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYmpi-0004KR-Fv for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:57:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYmpe-0004A9-0N for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:57:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYmpd-00049a-RA for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:57:53 -0400 Original-Received: from [209.226.175.110] (helo=tomts43-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYmyK-0004ys-2W; Sat, 14 Oct 2006 13:06:52 -0400 Original-Received: from pastel.home ([70.55.146.105]) by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061014165750.BBGS1596.tomts43-srv.bellnexxia.net@pastel.home>; Sat, 14 Oct 2006 12:57:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9AA889205; Sat, 14 Oct 2006 12:57:50 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Sat\, 14 Oct 2006 15\:10\:20 +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:60743 Archived-At: >> >> The question wasn't whether it more or less awkward, just whether it is >> >> awkward. And I really don't think it is. And it has the invaluable >> >> advantage of making it crystal clear what's happening. >> >> > It's quite clear I cannot convince you no matter what I say, so let's >> > just agree to disagree. >> >> I guess I could be convinced by example code where the use of the "multiple >> arg feature" makes the code simpler (without introducing extra bugs). > Define ``make the code simpler'', and I will try to think if there is > an example of that. The notion of what is simpler is clearly objective and we may never agree, but I may be satisfied by a concrete example which you consider as simpler. I just honestly can't think of any case where the "multiple args feature" can be used without either introducing bugs, or just pushing the arguably strange behavior (of having a list of strings which will be concatenated by Emacs and re-split later differently by the shell) to the user of that code. Stefan