From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: running a command that requires two parameters on a file Date: Tue, 12 Aug 2014 10:42:18 -0400 Organization: A noiseless patient Spider Message-ID: References: <87fvh98xi3.fsf@bach.histomat.net> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1407854727 19769 80.91.229.3 (12 Aug 2014 14:45:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2014 14:45:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 12 16:45:21 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XHDKB-0000eS-M3 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2014 16:45:19 +0200 Original-Received: from localhost ([::1]:42592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHDKB-00087C-6A for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Aug 2014 10:45:19 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="10105"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/awQOzRqHVwoOIuP4BQgXI" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:AbspSOc/B691OA9c0dcHL4Dm7Xs= Original-Xref: usenet.stanford.edu gnu.emacs.help:206898 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99174 Archived-At: In article , Kevin Rodgers wrote: > On 8/6/14 9:10 AM, Haines Brown wrote: > > I am in the habit of bringing up ! in order to run a command such as > > xpdf on a selected file. > > > > The problem comes when I want to run the command wkhtmltopdf, for it > > calls for two parameters. That is, emacs won't let me do: ! wkhtmltopdf > > input.html output.pdf. > > > > Is there a way I can do this withou raising a terminal to make the > > conversion with it? > > Mark both files with `m', then `! wkhtmltopdf *' This method is probably only useful when the order of the filename arguments is not important. But if one file is input and the other is output, and the order determines which is which, you could run into problems if Dired puts them in the wrong order. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***