all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: running a command that requires two parameters on a file
Date: Tue, 12 Aug 2014 10:42:18 -0400	[thread overview]
Message-ID: <barmar-5A503F.10421812082014@news.eternal-september.org> (raw)
In-Reply-To: mailman.7002.1407823212.1147.help-gnu-emacs@gnu.org

In article <mailman.7002.1407823212.1147.help-gnu-emacs@gnu.org>,
 Kevin Rodgers <kevin.d.rodgers@gmail.com> 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 ***


      parent reply	other threads:[~2014-08-12 14:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 15:10 running a command that requires two parameters on a file Haines Brown
2014-08-06 15:20 ` Barry Margolin
2014-08-06 16:11 ` Pascal J. Bourguignon
2014-08-09 12:16   ` Haines Brown
2014-08-12  5:59 ` Kevin Rodgers
     [not found] ` <mailman.7002.1407823212.1147.help-gnu-emacs@gnu.org>
2014-08-12 14:42   ` Barry Margolin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=barmar-5A503F.10421812082014@news.eternal-september.org \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.