Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kill-region: Text is read-only: #<buffer *gnuplot*> #38

Open
sjLambda opened this issue May 19, 2018 · 1 comment
Open

kill-region: Text is read-only: #<buffer *gnuplot*> #38

sjLambda opened this issue May 19, 2018 · 1 comment

Comments

@sjLambda
Copy link

I get this error in the middle of producing a dozen or so plots from an org file.

kill-region: Text is read-only: #<buffer gnuplot>

This is an old file that used to be able to generate the plots without errors. I can recreate the plots individually through the org-file fine. Only when I run them all at once, I get this error. I instrumented the kill-region function for Edebug to produce this trace:

kill-region(1 29)
kill-line()
gnuplot-trim-gnuplot-buffer()
run-hooks(gnuplot-after-plot-hook)
gnuplot-send-string-to-gnuplot(" " buffer)
gnuplot-send-region-to-gnuplot(1 575 buffer)
gnuplot-send-buffer-to-gnuplot()
org-babel-execute:gnuplot(" ...")

These are the versions:

: Emacs version: GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G20015))
: org version: 9.1.13
: gnuplot 5.2 patchlevel 2
: gnuplot.el Version: 0.7.0

@conao3
Copy link
Collaborator

conao3 commented Mar 21, 2020

Please attach the issue org-mode file and please use Emacs 26 instead of 27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants