From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: adamsonj@email.unc.edu (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Re: dired command on marked files Date: Mon, 16 Jun 2008 17:04:24 -0400 Message-ID: <87d4mhccrr.fsf@edna.homeunix.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213650600 25180 80.91.229.12 (16 Jun 2008 21:10:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Jun 2008 21:10:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: f.braennstroem@gmx.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 23:10:44 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K8LyN-0000mM-1p for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 23:10:43 +0200 Original-Received: from localhost ([127.0.0.1]:58514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8LxY-0000LP-Qv for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Jun 2008 17:09:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8Lwp-000080-BA for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 17:09:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8Lwo-000072-E8 for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 17:09:06 -0400 Original-Received: from [199.232.76.173] (port=33432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8Lwo-00006r-Ad for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 17:09:06 -0400 Original-Received: from smtpsrv1.isis.unc.edu ([152.2.1.140]:45492 helo=smtp.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8Lwn-0003bf-UQ for help-gnu-emacs@gnu.org; Mon, 16 Jun 2008 17:09:06 -0400 Original-Received: from edna (cpe-024-088-244-107.nc.res.rr.com [24.88.244.107]) (authenticated bits=0) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id m5GL8EqG004368; Mon, 16 Jun 2008 17:08:18 -0400 (EDT) In-Reply-To: (Fabian Braennstroem's message of "Mon, 16 Jun 2008 21:13:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54909 Archived-At: Fabian Braennstroem writes: > Hi, > > I would like to use dired to create some plots using > xmgrace/gracebat. My idea is to mark some files and plot > them all into one diagram using something like: > > gracebat ... -pexec 'subtitle ""' -hardcopy -hdevice EPS -printfile "<name>" > > Generally, I would use 'call-process' , but I have no clue, how I can create a call with variable number of files (depending on the marks). > In the end, emacs should ask for the 'title' and 'name'. Are you talking about a program, or interactively? Interactively, I would use a shell for loop. Joel -- Joel J. Adamson (303) 880-3109 Public key: http://pgp.mit.edu http://www.unc.edu/~adamsonj http://trashbird1240.blogspot.com