From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Using `call-process-shell-command' in `process-lines' Date: Mon, 26 Nov 2007 17:04:46 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196093184 29254 80.91.229.12 (26 Nov 2007 16:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2007 16:06:24 +0000 (UTC) Cc: Emacs Devel To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 26 17:06:30 2007 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 1IwgSq-00038e-Cg for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2007 17:05:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwgSb-0007rB-D3 for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2007 11:05:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IwgS4-0007Lk-9r for emacs-devel@gnu.org; Mon, 26 Nov 2007 11:04:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IwgS2-0007Kk-QV for emacs-devel@gnu.org; Mon, 26 Nov 2007 11:04:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwgS2-0007Kc-GA for emacs-devel@gnu.org; Mon, 26 Nov 2007 11:04:50 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IwgS2-0005Ih-0Z for emacs-devel@gnu.org; Mon, 26 Nov 2007 11:04:50 -0500 Original-Received: by nz-out-0506.google.com with SMTP id f1so371154nzc for ; Mon, 26 Nov 2007 08:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=IRVTCj0FBaP9WuiPCxiDd93rjGZiI2fD/P2aK9HTHmo=; b=GTSGH00qMZfsWWznX/8L/vSFy1trS0w48oTCeMLDom3DyUQU/GE23QfyqRcIUnpIfWX8JDT4HfneJGboXf0+FcY6m5hhgWoxghfk/jCHiQVaDdSqJd6Bdgf+S0isCp0Nnw+MK6wkJEfqMGV8n0FylYYSzMSxq55aOsUXZGASFeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X43ehgfcPdo7VE1w85UZmNnc4b69Ro3ZrHhydWhdkd+AprDOXi0L6I8ezrK86rbLkCn/R52KaeUvNbzymh4WaxpPElhKgZmyMpyFA60YoR3X850l/JkO4xhXUnwrlbuW7PVKVIYogWMT31HK9FNHqtaXx4AVWbLkmdx2XdG48ZY= Original-Received: by 10.114.93.17 with SMTP id q17mr226619wab.1196093086578; Mon, 26 Nov 2007 08:04:46 -0800 (PST) Original-Received: by 10.114.168.11 with HTTP; Mon, 26 Nov 2007 08:04:46 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:84146 Archived-At: On Nov 26, 2007 4:35 PM, Stefan Monnier wrote: > Yes: the use of `args' in call-process-shell-command is strongly > discouraged in my office because it doesn't do what it says it does: it > doesn't treat each element of the list as an argument. Instead it just > concatenates the elements of the list and then passes the resulting > single string to the shell which will split it into arguments accoring > to its own rules. Aside: that shouldn't cause compatibility problems, because `process-lines' wasn't in subr.el until 2007-11-19; I don't think there were many users of `process-line' from admin/admin.el or of `authors-process-lines' in emacs-lisp/authors.el. But I could be wrong... Juanma