Tangling when point is outside the code blocks works fine. Also, tangling works fine if there is no <<noweb refs>> inside any code blocks.
This is definitely related to noweb-ref expansion, when a <<ref>> is present but we have :noweb no, tangling works fine.
If you try to run org-babel-tangle when point is in either of the two code blocks, you will get an error message:
unwind-protect: Marker does not point anywhere
:PROPERTIES:
:header-args: :comments no :noweb yes
:END:
#+begin_src clojure :tangle ./test-pm-tangle.cljc
(+ 1 1 1)
<<noweb-ref>>
#+end_src
#+begin_src clojure :noweb-ref noweb-ref
(+ 1 1 1)
#+end_src
After the tangling comes Armageddon:
polymode gets disabled
- font-locking resets to nil
- current non-hidden org buffer name (without spaces in front of it) vanishes
- current window scrolls up a bit, leaving point at the bottom of a screen
- if that's the first time I tangle, a mark is set at current point O_o
Tangling when point is outside the code blocks works fine. Also, tangling works fine if there is no
<<noweb refs>>inside any code blocks.This is definitely related to noweb-ref expansion, when a
<<ref>>is present but we have:noweb no, tangling works fine.If you try to run
org-babel-tanglewhen point is in either of the two code blocks, you will get an error message:After the tangling comes Armageddon:
polymodegets disabled