emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexander Vorobiev <alexander.vorobiev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: using Cygwin Gnuplot with org-babel-gnuplot
Date: Wed, 28 Sep 2011 21:53:20 -0500	[thread overview]
Message-ID: <CAGOCFPVjrEYmaNOXw1rmT+gAmdUQ=bbvX_gXAG6LpS52DLnXcg@mail.gmail.com> (raw)

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.

Thanks
Alex Vorobiev

             reply	other threads:[~2011-09-29  2:53 UTC|newest]

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

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='CAGOCFPVjrEYmaNOXw1rmT+gAmdUQ=bbvX_gXAG6LpS52DLnXcg@mail.gmail.com' \
    --to=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).