From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Re: Orgmode links trouble with Emacs 24.4 on Windows 7: "ShellExecute failed: ..." Date: Wed, 19 Nov 2014 16:25:18 +0100 Message-ID: <177053077.XKQrKd5nae@linux-j9m3.site> References: <2158416.TzOYnk8KfK@linux-j9m3.site> <87389gfaxd.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr78U-00053r-5N for Emacs-orgmode@gnu.org; Wed, 19 Nov 2014 10:25:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xr78M-000221-MJ for Emacs-orgmode@gnu.org; Wed, 19 Nov 2014 10:25:38 -0500 Received: from mailout12.t-online.de ([194.25.134.22]:40564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xr78M-00021l-F5 for Emacs-orgmode@gnu.org; Wed, 19 Nov 2014 10:25:30 -0500 In-Reply-To: <87389gfaxd.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Emacs-orgmode@gnu.org Am Dienstag, 18. November 2014, 22:36:46 schrieb Nicolas Goaziou: > Hello, > > AW 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