quarto-emacs icon indicating copy to clipboard operation
quarto-emacs copied to clipboard

quarto-emacs doesn't work with python chunks

Open maikol-solis opened this issue 1 year ago • 0 comments

Hi!

I'm trying to use quarto-emacs with python blocks, but it's not working well.

For example, if I have this chunk

```{python}
import matplotlib.pyplot as plt
import numpy as np
```

and use the command poly-eval-region-or-chunk, I get this error

  error("Undefined `polymode-eval-region-function' in buffe..." #<buffer my_file.qmd[python]>)
  polymode-eval-chunk(4113)
  polymode-eval-region-or-chunk()
  funcall-interactively(polymode-eval-region-or-chunk)
  command-execute(polymode-eval-region-or-chunk)

I don't know if the problem is from polymode or quarto-emacs directly. I can help to debug this further if you like.

Best.

### Tasks

maikol-solis avatar Jan 17 '24 14:01 maikol-solis