emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: AW <alexander.willand@t-online.de>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..."
Date: Wed, 19 Nov 2014 16:25:18 +0100	[thread overview]
Message-ID: <177053077.XKQrKd5nae@linux-j9m3.site> (raw)
In-Reply-To: <87389gfaxd.fsf@nicolasgoaziou.fr>

Am Dienstag, 18. November 2014, 22:36:46 schrieb Nicolas Goaziou:
> Hello,
> 
> AW <alexander.willand@t-online.de> writes:
> > I installed Emacs 24.4 on Windows 7.
> > 
> > Everything works, except some of my links in orgmode. They worked under
> > Emacs 24.3, 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"))
> 
> It should be
> 
>   (setq org-link-abbrev-alist '(("name" . "//SBS2011/path/to/folder/%s")))
> 
> > The links in the org-files look like this:
> > 
> > [[name:filename]]
> > 
> > or
> > 
> > [[name:./path/down/the/folder/filename.pdf]]
> 
> Use
> 
>   M-: (org-element-property :path (org-element-context))
> 
> with point on each of them. Is the path a valid (according to Windows)
> file name?
> 
> 
> Regards,

Hello,

yes, I did that and the path is valid, it becomes, well, say, "expanded". 

Except that it contains slashes ( "/" ) instead of backslashes, it is exactly 
what I expected. And to be clear: the same link works with Emacs 24.3 under 
Windows 7 as well as under Linux and Emacs 24.4.

Thank you for your much appreciated help! 

Regards,

Alexander

  reply	other threads:[~2014-11-19 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 13:06 Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..." AW
2014-11-18 21:36 ` Nicolas Goaziou
2014-11-19 15:25   ` AW [this message]
2014-11-20 14:15     ` 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.orgmode.org/

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

  git send-email \
    --in-reply-to=177053077.XKQrKd5nae@linux-j9m3.site \
    --to=alexander.willand@t-online.de \
    --cc=Emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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.
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).