- Emacs version: 28.2
- org version: Org mode version 9.6 (9.6-??-bed47b437)
- org-anki version: 1.0.4 and latest (1.0.5)
test.org
#+ANKI_DECK: TestDeck
org-anki Batch Test
* Front
Back
Test code
(with-current-buffer (find-file-noselect "~/test.org")
(org-mode)
(save-excursion
(goto-char (point-max))
(org-anki-sync-entry))
(save-buffer))
The code makes an anki card but can't make ANKI_NOTE_ID property at the heading. Emacs shows the org-fold-region: Calling ‘org-fold-core-region’ with missing SPEC error. And :PROPERTY:\n:END: is printed in the beginning of scratch buffer. I'm not sure. But My guess is that the message is that org seems to try parsing Users' current buffer which is scratch-buffer.