Open egr95 opened 9 months ago
I believe this is actually a bug with emacs itself, and I have filed a bug report with the maintainers.
However, it would still be nice to have the option to disable read-only mode in the REPL here. It still happens to me every so often that I inadvertently paste some read-only text into the prompt and am left with an unusable REPL as a result.
Thanks!
Here's a simple reproducer:
kill-ring-save
)jupyter-run-repl
)print('hello world')
and then selecthello world
and then runkill-ring-save
)yank-from-kill-ring
and pressM-p
to cycle backward through the kill ring. PressingM-p
a second time gives an errorText is read-only
, meaning you can no longer access the text you copied in step 1Is it possible to somehow disable the read-only mode in the REPL buffer whenever we copy text from it? I actually think the ability to easily navigate and copy text from the REPL is a really cool feature of
emacs-jupyter
, but it shouldn't break the kill ring. Moreover, I occasionally notice that copying text from the previous cells into the command prompt can cause strange glitches due to this read-only mode, whereby you lose the ability to add anymore text or even execute the last cell, essentially losing control of the REPL.Thank you!