Re: org-element-cache error when storing footnotes using capture buffer

2024-10-13 Thread Ihor Radchenko
Akash Pal writes: > Suppose we have the following document > > ``` > #+title: test-file > > * This is h1 > > ** This is h1.2 > > We introduce some text here > > Then we narrow to this heading and introduce a footnote > ... > When we narrow to h1.2 (subtree) so that * Footnotes is not visible - af

Re: org-element-cache error when storing footnotes using capture buffer

2024-10-04 Thread Akash
Dear Maintainers, I seem to have been able to solve this issue through some brute force debugging. The problem emanates from when copying over the local variables, especially the `buffer-file-name' variable The function definition `org-src--edit-element' contains a provision to make the said

org-element-cache error when storing footnotes using capture buffer

2024-10-02 Thread Akash Pal
Suppose we have the following document ``` #+title: test-file * This is h1 ** This is h1.2 We introduce some text here Then we narrow to this heading and introduce a footnote * Another heading here so that footnote capture works #+begin_src (org-element-property :buffer (org-element-at-point