From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Quote file name args to start-process-shell-command? Date: Sat, 14 Oct 2006 20:26:00 +0200 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1160850401 12564 80.91.229.2 (14 Oct 2006 18:26:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2006 18:26:41 +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 20:26:38 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 1GYoDG-0002fv-Is for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2006 20:26:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYoDF-0001rj-Ov for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2006 14:26:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYoD2-0001rU-4m for emacs-devel@gnu.org; Sat, 14 Oct 2006 14:26:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYoD0-0001rI-JA for emacs-devel@gnu.org; Sat, 14 Oct 2006 14:26:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYoD0-0001rF-F1 for emacs-devel@gnu.org; Sat, 14 Oct 2006 14:26:06 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYoLe-00063W-F0; Sat, 14 Oct 2006 14:35:02 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-160-108.inter.net.il [80.230.160.108]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EXO47634 (AUTH halo1); Sat, 14 Oct 2006 20:25:55 +0200 (IST) Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Sat, 14 Oct 2006 12:57:50 -0400) 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:60747 Archived-At: > Cc: stephen_leake@member.fsf.org, dak@gnu.org, schwab@suse.de, > emacs-devel@gnu.org, lennart.borgman.073@student.lu.se > From: Stefan Monnier > Date: Sat, 14 Oct 2006 12:57:50 -0400 > >> > >> 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, That is exactly why I asked for _your_ notion of ``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. Well, the function exists in this form for many years (at least 12). I'm guessing that the &rest args form was to make it similar to start-process or something, but that's just a guess.