emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..."
@ 2014-11-18 13:06 AW
  2014-11-18 21:36 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: AW @ 2014-11-18 13:06 UTC (permalink / raw)
  To: Emacs-orgmode

hi,

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

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

I'd be thankful for a helping hand,

Alexander

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

* Re: Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..."
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2014-11-18 21:36 UTC (permalink / raw)
  To: AW; +Cc: Emacs-orgmode

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,

-- 
Nicolas Goaziou

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

* Re: Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..."
  2014-11-18 21:36 ` Nicolas Goaziou
@ 2014-11-19 15:25   ` AW
  2014-11-20 14:15     ` AW
  0 siblings, 1 reply; 4+ messages in thread
From: AW @ 2014-11-19 15:25 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Emacs-orgmode

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

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

* Re: Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..."
  2014-11-19 15:25   ` AW
@ 2014-11-20 14:15     ` AW
  0 siblings, 0 replies; 4+ messages in thread
From: AW @ 2014-11-20 14:15 UTC (permalink / raw)
  To: emacs-orgmode

As this does not seem to be an orgmode, but an emacs on windows issue, I'll 
ask on the emacs list, so beware: crossposting.

Am Mittwoch, 19. November 2014, 16:25:18 schrieb AW:
> 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

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

end of thread, other threads:[~2014-11-20 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2014-11-20 14:15     ` AW

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