Il giorno 24 mag 2023, alle ore 11:03, Ihor Radchenko <yanta...@posteo.net> ha scritto: > > Payas Relekar <relekarpa...@gmail.com> writes: > >> I've been playing with org-footnote-assistance, and this is again just >> another opinion, but I'm also preferring the indirect buffer. It just >> puts things in better perspective. > > I'd prefer to integrate things with `org-edit-special', if possible. > Possibly extending `org-edit-special' functionality. > > The pros for `org-edit-special' are that we can escape certain edge > cases. In particular, there is a known edge case when footnote > definition contains an src block with 2+ blank lines. The blank lines > are treated as the end of the footnote definition and src block is not > recognized. Also, `org-edit-footnote-reference' takes care about > removing common indentation. >
I've tried to use org-edit-special with a src block with 2+ blank lines and the second #+end_src is not seen as part of the footnote. Is this the edge problem you were addressing? I get the same result with the indirect buffer. I'll try to implement at least footnote previewing functionalities with eldoc! > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at <https://orgmode.org/>. > Support Org development at <https://liberapay.com/org-mode>, > or support my work at <https://liberapay.com/yantar92>