From: Alexander Baier <alexander.baier@mailbox.org>
To: twiki <lap7619@yahoo.it>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Launch application with region as a parameter
Date: Mon, 06 Oct 2014 19:01:01 +0200 [thread overview]
Message-ID: <877g0djfoy.fsf@mailbox.org> (raw)
In-Reply-To: <c8c5818b-6df5-4ea1-9db4-25f61d1a66b9@googlegroups.com> (twiki's message of "Mon, 6 Oct 2014 08:33:10 -0700 (PDT)")
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
next prev parent reply other threads:[~2014-10-06 17:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-06 15:33 Launch application with region as a parameter twiki
2014-10-06 17:01 ` Alexander Baier [this message]
2014-10-06 23:35 ` Tak Kunihiro
[not found] ` <mailman.10602.1412638553.1147.help-gnu-emacs@gnu.org>
2014-10-07 15:54 ` twiki
2014-10-07 16:28 ` Alexander Baier
[not found] ` <mailman.10652.1412699323.1147.help-gnu-emacs@gnu.org>
2014-10-07 16:54 ` twiki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877g0djfoy.fsf@mailbox.org \
--to=alexander.baier@mailbox.org \
--cc=help-gnu-emacs@gnu.org \
--cc=lap7619@yahoo.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.