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

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

dired: run shell and lisp function on file


From: Fabian Braennstroem
Subject: dired: run shell and lisp function on file
Date: Sun, 17 Jun 2007 20:34:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.0

Hi,

I have to small problems, which I actually included already into a
former posting; now I thought it would be
better placed in a separate post with a better subject :-)
I hope those questions were not to stupid!?

        How can I run a function on a the currently highlighted file, e.g.
I would like to tail a log file using "tail.el"?
        The 'tail-file' waits for a filename in the mini-buffer, but it
would be nice, if it takes the actual file in dired...

        I know, that I run special shell commands on the current file using
'!', it works pretty nice for different programs,
       but for a certain batch job I need to call:   'PROGRAM_NAME <
CURRENT_FILE > CURRENT_FILE.log'!?

Would be nice, if anybody has an idea?
Regards!
Fabian


reply via email to

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