[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Handling file links under Windows
From: |
Leo Alekseyev |
Subject: |
[Orgmode] Handling file links under Windows |
Date: |
Sat, 15 Jan 2011 22:01:32 -0500 |
Dear All,
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
Journal\\Journal.exe %s")
("\\.pdf\\'" . "C:\\Program Files (x86)\\Adobe\\Acrobat
10.0\\Acrobat\\Acrobat.exe %s")
(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
right.
--Leo
- [Orgmode] Handling file links under Windows,
Leo Alekseyev <=