From: Leo Alekseyev <firstname.lastname@example.org>
Subject: Handling file links under Windows
Date: Sat, 15 Jan 2011 22:01:32 -0500 [thread overview]
Message-ID: <AANLkTinkONaJFD5poT+evKBK_GCM_25VThc5cd32rQoJ@mail.gmail.com> (raw)
I would like to have links to PDF files open those files in Acrobat
and links to Windows Journal (JNT) files open them in Windows Journal
-- very simple; same as it would be as if I double-clicked them
anywhere in Windows.
Here is what happens now: PDF files open in emacs doc-view mode, and
JNT files fail to open with the message "ShellExecute failed:
Application not found^M" (sic).
If I try to explicitly set the variable org-file-apps, so that its
value is (("\\.jnt\\'" . "C:\\Program Files\\Windows
("\\.pdf\\'" . "C:\\Program Files (x86)\\Adobe\\Acrobat
(auto-mode . emacs)
("\\.x?html?\\'" . default))
-- but in this case, opening those links silently fails (even though I
can type e.g. "C:\Program Files\Windows Journal\Journal.exe foo.jnt"
from Windows command line and it works fine).
Can anyone help with getting this to work right?.. Links are rather
fundamental to org-mode and it's annoying not to have them working
next reply other threads:[~2011-01-16 3:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-16 3:01 Leo Alekseyev [this message]
2011-01-16 3:26 ` Handling file links under Windows Nick Dokos
[not found] ` <-463692335126976696@unknownmsgid>
2011-01-16 10:41 ` Leo Alekseyev
2011-01-23 14:51 ` David Maus
2011-01-16 11:07 ` Achim Gratz
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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 public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).