Emacs/Calc/GNUPlot/gnuplot-mode problem on Windows XP
- From: David Trudgett <dktrudgett@xxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 23:28:01 +1000
Interfacing my Emacs, Emacs Calculator, and gnuplot-mode with GNUPlot on Windows does not seem to be working for me.
When, for example, I do a 'g f' in calc to plot a function, a gnuplot window is created (minimised), but no graph window appears. The text window of GNUPlot does not contain any commands, but simply:
Terminal type set to 'windows'
gnuplot>
While in this state, Emacs is completely blocked, no screen redrawing, etc. Closing the GNUPlot window and then killing the pgnuplot.exe process unblocks Emacs.
Are there any special incantations needed to get this to work? I am setting:
(setq calc-gnuplot-name "c:/path/to/pgnuplot.exe")
as well as:
(add-hook 'gnuplot-load-hook
'(lambda ()
(setq gnuplot-program
"c:/path/to/pgnuplot.exe")))
My Windows PATH is also prefixed with the GNUPlot bin directory.
The versions of Emacs and GNUPlot I am using are:
Emacs 22.1.1 (i386-mingw-nt5.1.2600)
GNUPlot Version 4.2 patchlevel 0 (March 2007)
I have also tried gnuplot-mode in Emacs 21 with no real success, except that I was once able to get a single line (plot) command through to GNUPlot which displayed a sine graph before freezing up (requiring the above steps to unfreeze). I think that the same would have happened in Emacs 22 if I had tried the same sequence of steps there.
It is as if the comms stream between the two processes is blocking and control is not returning to Emacs.
Does anyone have any ideas on what the problem and possible solutions could be?
Thanks,
David Trudgett
.
- Follow-Ups:
- Re: Emacs/Calc/GNUPlot/gnuplot-mode problem on Windows XP
- From: Giacomo Boffi
- Re: Emacs/Calc/GNUPlot/gnuplot-mode problem on Windows XP
- Prev by Date: Re: how to sort the buffer with "sort-regexp-fields"
- Next by Date: Re: teco, rms, gosling, mocklisp, ... wasRe: Xah's Edu Corner: The Modernization of Emacs
- Previous by thread: how to sort the buffer with "sort-regexp-fields"
- Next by thread: Re: Emacs/Calc/GNUPlot/gnuplot-mode problem on Windows XP
- Index(es):
Relevant Pages
|