From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Florian von Savigny Newsgroups: gmane.emacs.help Subject: turning a list (variable) into process &rest ARGS ... Date: 26 May 2004 23:46:53 +0200 Organization: 1&1 Internet AG Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1085611908 3216 80.91.224.253 (26 May 2004 22:51:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 May 2004 22:51:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 27 00:51:43 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BT7FO-0001gd-00 for ; Thu, 27 May 2004 00:51:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BT6UR-0002r1-0g for geh-help-gnu-emacs@m.gmane.org; Wed, 26 May 2004 18:03:11 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: p50904788.dip0.t-ipconnect.de Original-X-Trace: online.de 1085608013 3036 80.144.71.136 (26 May 2004 21:46:53 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Wed, 26 May 2004 21:46:53 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!irazu.switch.ch!switch.ch!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:123493 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18796 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18796 Hi there, I have just hit upon a problem you never expect when you once started off using Perl ... I am writing a function that is to invoke (call-process ...) and take the program name and the &rest ARGS from a list variable of unknown length. While this is of course straightforward for the command name, I have no idea of how to do the rest, since, as all old lispers here will know, I cannot simply supply the relevant portion of the list. call-process wants strings, not lists. Is there ANY workaround (I wouldn't like to have the function take the whole command from a variable, which would be possible by setting the latter to '(progn (call-process ... etc., because I want the function to control the other arguments of call-process) for this list-to-elements problem? Thanks for any help, -- Florian v. Savigny If you are going to reply in private, please be patient, as I only check for mail something like once a week. - Si vous allez répondre personellement, patientez s.v.p., car je ne lis les courriels qu'environ une fois par semaine.