[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired command on marked files
From: |
Fabian Braennstroem |
Subject: |
Re: dired command on marked files |
Date: |
Fri, 20 Jun 2008 21:56:24 +0200 |
User-agent: |
slrn/0.9.8.1pl1 (Debian) |
Hi Kevin,
* Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
> Fabian Braennstroem wrote:
>> In the end, emacs should ask for the 'title' and 'name'.
>
> (defun gracebat (title name)
> (interactive "sTitle: \nsName: ")
> ...
> )
Thanks for the hint! I tried to incorporate it, but without
success. I think all those marks make a problem:
(defun grace( title1 name)
"Create Plot using grace"
(interactive "sTitle: \nsName: ")
(call-process-shell-command (concat (dired-shell-stuff-it "xmgrace "
(dired-get-marked-files) nil) " -pexec 'title "" (title1) ""' &"))
)
Greetings!
Fabian