[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Patch] ob-ditaa.el for Cygwin
From: |
Jambunathan K |
Subject: |
Re: [O] [Patch] ob-ditaa.el for Cygwin |
Date: |
Fri, 12 Jul 2013 11:35:43 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Have your tried setting the *Windows* environment variable $HOME via
Windows system settings to d:/cygwin/home/yujie?
Yujie Wen <address@hidden> writes:
> Hi,
>
> ob-ditaa.el calls Java VM to generate pictures. Unfortunately, Cygwin
> doesn't have native Java VM. In order to call the Windows native Java
> VM properly, all Cygwin paths pointing to ditaa.jar, the temporary
> input file and the output picture file must be changed to Windows
> native paths, for example, /home/yujie/ditaa.jar to
> d:/cygwin/home/yujie/ditaa.jar.
>
> Here is a patch that detect whether current Emacs is of Cygwin version
> and, if so, add `cygpath -w ` to wrap all related pathes.
>
> Regards,
> Yujie