emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Org, org-plot, and babel+gnuplot on Windows
Date: Fri, 10 Sep 2010 18:02:00 -0500	[thread overview]
Message-ID: <AANLkTimmAgTjBsR0VNRDx3+PXOF_diyK14UwdLFpDZ3Q@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2847 bytes --]

Hi all,


This is a spin-off of the Worg babel-gnuplot announcement:
http://osdir.com/ml/emacs-orgmode-gnu/2010-09/msg00715.html

In my hunting it seems that there is some history for
gnuplot/org-plot/Windows issues?
--- Thread from 2007; no resolution:
http://newsgroups.derkeiler.com/Archive/Comp/comp.emacs/2007-07/msg00159.html
--- Thread from 6/09; suggestion to check with gnuplot-mode maintainer:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg14544.html

I just set up org-mode on my work Windows XP computer and installed gnuplot
as follows:
--- downloaded gp440win32.zip from sourceforge.net
--- unpacked the zip file to C:\Program Files\gnuplot
--- opened up and read the README.windows file for instructions
--- added C:\Program Files\gnuplot\binary\ to my PATH variable
--- added an env variable called GDFONTPATH and set it to C:\Windows\Fonts
--- added an env variable called GNUPLOT_FONTPATH and set it to
C:\Windows\Fonts
--- added this to init.el: (setq exec-path (append exec-path '("C:/Program
Files/gnuplot/binary/wgnuplot.exe")))

During my searching, this page came up:
http://orgmode.org/worg/org-contrib/babel/examples/org-check.php
--- It appears that the downloadable file, org-check.org, needs to be
updated. The checks for gnuplot and the other babel languages are not
actually in the downloaded file. When viewing the page, one (at least me)
somewhat expects that the full pass/fail chart will be produced in the
downloaded file, but instead it's only checking LaTeX, make pdfs, and
agenda.

I can run gnuplot fine from the Win command line. When trying either
org-plot/gnuplot or executing a simple babel block, Emacs completely hangs,
though. Org-plot produces a *gnuplot* buffer with only "reset" in it and
after a babel execution is done hanging I have a completely blank *gnuplot*
buffer.

I'm also unable to use gnuplot-mode, though I've not ever used it before. I
can enter the mode, but things hang when trying to send the buffer to
gnuplot. I also found this thread which seems to say the same:
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/53489131c79f62b3
.
--- There is a reference to using gnuplot through Calc. I quasi-tried this
but was as mystified by Calc as the first day I touched emacs. I got nothing
to happen except for g-f to indeed open a gnuplot window.

Is anyone able to help diagnose this further? I'll include any results in
ob-doc-gnuplot and perhaps it can even get put on Worg on org-plot as well.
There's got to be a way to make gnuplot play nice with Org...

Does babel require gnuplot-mode to work properly? I realize that org-plot
does, but don't recall about ob-gnuplot.

I sent an email to Bruce Ravel, the author of gnuplot-mode, to ask him for
any input.



*Lastly, is this not even for this mailing list? My apologies if so!*



Best regards,
John

[-- Attachment #1.2: Type: text/html, Size: 4048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-09-10 23:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 23:02 John Hendy [this message]
2010-09-17 12:47 ` Org, org-plot, and babel+gnuplot on Windows Eric Schulte
2010-09-17 14:26   ` John Hendy
2010-09-17 15:13   ` Sébastien Vauban
2010-09-17 16:46     ` Eric Schulte
2010-09-18  7:06       ` Sébastien Vauban

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=AANLkTimmAgTjBsR0VNRDx3+PXOF_diyK14UwdLFpDZ3Q@mail.gmail.com \
    --to=jw.hendy@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).