[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: org-plot gives Invalid function error
From: |
Timothy |
Subject: |
Re: Bug: org-plot gives Invalid function error |
Date: |
Tue, 27 Apr 2021 11:50:47 +0800 |
User-agent: |
mu4e 1.4.15; emacs 28.0.50 |
Ihor Radchenko <yantar92@gmail.com> writes:
> ob-gnuplot does not refresh gnuplot session.
>
> A quick look through org-plot code shows that gnuplot session is also
> preserved:
That's why the reset command is run:
https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-plot.el#L560
>From the docs:
> The reset command causes all graph-related options that can be set
> with the set command to take on their default values. This command is
> useful, e.g., to restore the default graph settings at the end of a
> command file, or to return to a defined state after lots of settings
> have been changed within a command file. Please refer to the set
> command to see the default values that the various options take.
>
> The following set commands do not change the graph status and are thus
> left unchanged: the terminal set with set term, the output file set
> with set output and directory paths set with set loadpath and set
> fontpath.
Wouldn't this be sufficient?
--
Timothy