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: Using `call-process-shell-command' in `process-lines' Date: Mon, 26 Nov 2007 22:30:29 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1196109120 25996 80.91.229.12 (26 Nov 2007 20:32:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2007 20:32:00 +0000 (UTC) To: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 26 21:32:07 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 1Iwkcc-0002QS-CY for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2007 21:32:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IwkcN-00062K-18 for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2007 15:31:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iwkc0-0005tS-5i for emacs-devel@gnu.org; Mon, 26 Nov 2007 15:31:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iwkbv-0005rY-BT for emacs-devel@gnu.org; Mon, 26 Nov 2007 15:31:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iwkbv-0005rS-8v for emacs-devel@gnu.org; Mon, 26 Nov 2007 15:31:19 -0500 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iwkbu-0001ZO-Oj for emacs-devel@gnu.org; Mon, 26 Nov 2007 15:31:18 -0500 Original-Received: from HOME-C4E4A596F7 ([81.5.42.135]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id EFO03933 (AUTH halo1); Mon, 26 Nov 2007 22:30:32 +0200 (IST) In-reply-to: (message from Eli Zaretskii on Mon, 26 Nov 2007 22:23:09 +0200) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (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:84172 Archived-At: > Date: Mon, 26 Nov 2007 22:23:09 +0200 > From: Eli Zaretskii > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > If this minor variant works: > > (apply #'call-process "c:/bin/gnuwin32/bin/find.exe" nil > (get-buffer-create "output") nil '("c:/emacs/trunk/lisp/" "-name" > (shell-quote-argument "*.el"))) Sorry, you need one more change: (apply #'call-process "c:/bin/gnuwin32/bin/find.exe" nil (get-buffer-create "output") nil (list "c:/emacs/trunk/lisp/" "-name" (shell-quote-argument "*.el")))