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

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

"ShellExecute failed" -- Emacs 24.4 on Win7


From: AW
Subject: "ShellExecute failed" -- Emacs 24.4 on Win7
Date: Thu, 20 Nov 2014 09:25:39 -0500
User-agent: KMail/4.14.2 (Linux/3.17.3-1.g76fe48f-desktop; KDE/4.14.2; x86_64; ; )

Hi!

I asked this question on the orgmode list, but it seems to be an issue of 
Emacs 24.4. on Windows.

I installed Emacs 24.4 on Windows 7 from GNU.

Everything works, except some of my links in orgmode. They worked under Emacs 
24.3 and Win7, and they work with Emacs 24.4 under Linux.

The non-working links have a certain structure: I'm using shorcuts. I have a 
file "AW-org-file.el", containing lines like:

(setq org-link-abbrev-alist
'((name . "//SBS2011/path/to/folder/%s")))

This file "AW-org-file.el" is required in my .emacs

The links in the org-files look like this:

[[name:filename]]

or

[[name:./path/down/the/folder/filename.pdf]]

With cursor on the link I do "C-c C-o" and get:

"ShellExecute failed: Das System kann die angegebene Datei nicht finden."

(my translation: the system can not find the file).

Thanks to Nicolas Goaziou I did: 

 M-: (org-element-property :path (org-element-context))

with the point on a link and got an "expanded" path plus filename. OK, except 
that it contains slashes ( "/" ) instead of backslashes.

I'd be thankful for a helping hand,

Alexander




reply via email to

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