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

2024-10-04 Thread Akash
ile `org-src.el' ;; --- (defun patch/org-src--edit-element (&rest args) (setq-local buffer-file-name nil)) (advice-add 'org-src--edit-element :after #'patch/org-src--edit-element) ;; --- Thank you, Akash P

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

[Bug?] Non-existent agenda file %s.

2024-03-28 Thread Akash Pal
I came across this flow of execution while trying to export a ghost org-file to pdf, meaning that the file is 'created' through #'find-file but not saved. While export the following backtrace is noted: ``` Debugger entered--entering a function: * org-check-agenda-file("