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

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

Re: Launch application with region as a parameter


From: Alexander Baier
Subject: Re: Launch application with region as a parameter
Date: Mon, 06 Oct 2014 19:01:01 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

On 2014-10-06 17:33 twiki wrote:
> I've text-buffer and the cursor is here...
>
> ...
>
> bla bla bla c:\tmp\doc1.pdf  bla bla bla
>                       ^
> ...
>
> I want select this line and launch (with =C-c o=) Adobe Reader (or also)
> on c:\tmp\doc1.pdf

You could use (thing-at-point 'filename) to get the filename and then
start-process or maybe async-shell-command to start Adobe Reader.

HTH,
-- 
Alexander Baier



reply via email to

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