help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired shell command on background


From: William Xu
Subject: Re: dired shell command on background
Date: Sat, 13 May 2006 19:11:24 +0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"rodrigo lazo" <rlazo.paz@gmail.com> writes:

> how could I make dired to execute a shell command on a file on the
> background. Until now I was doing it with
>
> X (dired-do-shell-command)
> xpdf * &
>
> But there must be a better way. 

I have a piece like this. Then for .pdf files, simply `X RET' will run
xpdf at the background.

(require 'dired-x)

(setq dired-guess-shell-alist-user
      '((".dvi" "xdvi")
        (".pdf" "xpdf")))

-- 
William




reply via email to

[Prev in Thread] Current Thread [Next in Thread]