From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Org, org-plot, and babel+gnuplot on Windows Date: Fri, 10 Sep 2010 18:02:00 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0779602021==" Return-path: Received: from [140.186.70.92] (port=41994 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuCbc-00031k-Ce for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 19:02:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuCba-00087N-Iv for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 19:02:04 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:58911) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuCba-00087D-8a for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 19:02:02 -0400 Received: by bwz6 with SMTP id 6so3368800bwz.0 for ; Fri, 10 Sep 2010 16:02:00 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --===============0779602021== Content-Type: multipart/alternative; boundary=0003255556aefa6137048fefbbef --0003255556aefa6137048fefbbef Content-Type: text/plain; charset=ISO-8859-1 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 --0003255556aefa6137048fefbbef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,


This is a spin-off of the Worg ba= bel-gnuplot announcement:=A0http://osdir.com/ml/emacs-orgmod= e-gnu/2010-09/msg00715.html

In my hunting it seems that there is some history for g= nuplot/org-plot/Windows issues?
--- Thread from 6/09; suggestion to check with gnuplot-mode maintainer= :=A0http://www.mail-archive.com/emacs-orgmode@gnu.org/ms= g14544.html

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

During my searching, this page came up:=A0http://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 downloade= d 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 i= t'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 com= pletely hangs, though. Org-plot produces a *gnuplot* buffer with only "= ;reset" in it and after a babel execution is done hanging I have a com= pletely blank *gnuplot* buffer.

I'm also unable to use gnuplot-mode, though I'v= e not ever used it before. I can enter the mode, but things hang when tryin= g to send the buffer to gnuplot. I also found this thread which seems to sa= y the same:=A0http://groups.google.c= om/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 n= othing to happen except for g-f to indeed open a gnuplot window.

Is anyone able to help diagnose this further? I'll inclu= de 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 wi= th Org...

Does babel require gnuplot-mode to work properly? I rea= lize that org-plot does, but don't recall about ob-gnuplot.
<= br>
I sent an email to Bruce Ravel, the author of gnuplot-mode, t= o ask him for any input.



Lastly, is this not ev= en for this mailing list? My apologies if so!

=

Best regards,
John

--0003255556aefa6137048fefbbef-- --===============0779602021== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0779602021==--