emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Alexander Vorobiev <alexander.vorobiev@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: using Cygwin Gnuplot with org-babel-gnuplot
Date: Thu, 29 Sep 2011 06:55:33 -0600	[thread overview]
Message-ID: <87vcsba4mg.fsf@gmail.com> (raw)
In-Reply-To: CAGOCFPVjrEYmaNOXw1rmT+gAmdUQ=bbvX_gXAG6LpS52DLnXcg@mail.gmail.com

Alexander Vorobiev <alexander.vorobiev@gmail.com> writes:

> Hi,
>
> It is mentioned in
> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec-2_1
> that there were some problems with gnuplot on Windows machines. I came
> up with a small fix which makes it possible to use Cygwin version of
> gnuplot with org-mode. The change is in the org-babel-execute:gnuplot
> function where I added passing of optional argument to
> org-babel-process-file-name:
>
> before:
> (org-babel-process-file-name script-file))))
>
> after:
> (org-babel-process-file-name script-file t))))
>
> The argument forces the function not to add backslash prior to ":"
> character which prevented gnuplot from finding the script for
> execution. I hope somebody will find the fix useful. Unfortunately I
> don't know if the fix breaks anything on Unix/Linux/Mac.
>

Hi Alex,

I've added this change behind a guard so that it should only be applied
on windows systems.

Thanks for suggesting this fix!  Please let me know if my patch doesn't
work as expected.

Best -- Eric

>
> Thanks
> Alex Vorobiev
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

      reply	other threads:[~2011-09-29 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29  2:53 using Cygwin Gnuplot with org-babel-gnuplot Alexander Vorobiev
2011-09-29 12:55 ` Eric Schulte [this message]

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=87vcsba4mg.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=alexander.vorobiev@gmail.com \
    --cc=emacs-orgmode@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.
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).