[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired: launch program withou stalling emacs
From: |
muede |
Subject: |
Re: dired: launch program withou stalling emacs |
Date: |
Mon, 20 Jul 2009 15:43:52 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Jul 20, 3:49 pm, Alain Muls <alain.m...@telenet.be> wrote:
> Hi
>
> I am learning to use dired for file operations. I found out how to
> launch a program associated with the extension using eg
>
> (require 'dired-x)
> (setq dired-guess-shell-alist-user
> '(("\\.pdf$" "evince")))
>
> The inconvenience of this is that I have to close the program before I
> can resume working in emacs. Is there a possibility to launch the
> pdfviewer evince and be able to work in emacs without closing the pdfviewer?
>
> Tx/Alain
Run it in the background.
(setq dired-guess-shell-alist-user
'(("\\.pdf$" "evince * &")))
-ap