emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Handling file links under Windows
@ 2011-01-16  3:01 Leo Alekseyev
  2011-01-16  3:26 ` Nick Dokos
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Leo Alekseyev @ 2011-01-16  3:01 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-23 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-16  3:01 Handling file links under Windows Leo Alekseyev
2011-01-16  3:26 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).