Re: How to get the inner boundaries of a block

2023-11-27 Thread Ihor Radchenko
Jens Schmidt writes: > Triggered by a recent question here on `org-in-src-block-p' and a > current need: Is there a function already available that returns > the *inner* boundaries of an arbitrary block element? Nope. There is `org-src--contents-area', but it is not guaranteed to work as it is a

How to get the inner boundaries of a block

2023-11-27 Thread Jens Schmidt
Triggered by a recent question here on `org-in-src-block-p' and a current need: Is there a function already available that returns the *inner* boundaries of an arbitrary block element? For the element corresponding to the block below: #+begin_verse ^A foo bar baz^B #+end_verse that function