unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: AW <alexander.willand@t-online.de>
To: help-gnu-emacs@gnu.org
Subject: "ShellExecute failed" -- Emacs 24.4 on Win7
Date: Thu, 20 Nov 2014 09:25:39 -0500	[thread overview]
Message-ID: <4803529.5dl2vO728E@linux-4qrv.site> (raw)

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	other threads:[~2014-11-20 14:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20 14:25 AW [this message]
2014-11-20 17:22 ` "ShellExecute failed" -- Emacs 24.4 on Win7 Eli Zaretskii
2014-11-25  9:05   ` AW
2014-11-25 16:41     ` Eli Zaretskii
2014-11-27 15:25       ` AW

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4803529.5dl2vO728E@linux-4qrv.site \
    --to=alexander.willand@t-online.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).