emacs-jupyter/jupyter

Ignore archived subtrees when `jupyter-org-execute-to-point`

Open

#177 opened on Sep 1, 2019

 (3 comments) (0 reactions) (0 assignees)Emacs Lisp (106 forks)auto 404
enhancementhelp wantedorg

Repository metrics

Stars
 (1,028 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

#+property: header-args:jupyter-python :session test :async yes :exports both :tangle test.py


* Heading1

#+begin_src jupyter-python
print('Heading1')
#+end_src

* Heading2                                                          :ARCHIVE:

#+begin_src jupyter-python
print('Heading2') # Should we ignore this block?
#+end_src

* Heading3

#+begin_src jupyter-python
print('Heading3') # run `jupyter-org-execute-to-point` here
#+end_src

When a subtrees is internal archived, shall we ignore any evaluation on it? How do you think about it?

Contributor guide