On 2025-07-02 21:34, mb...@mbork.pl wrote:
On 2025-07-02, at 20:40, pinmacs<pinm...@cas.cat> wrote:

On 2025-07-02 05:28,mb...@mbork.pl wrote:
Hi all,

with the point on a headline, I'd like to be able to get the positions
of the start and end of the current headline's title.  How to do that?
Here's what I have, is there a better way?
For me, org-special-ctrl-a/e does that job, but I prefer in my case to
use it reversed (setq org-special-ctrl-a/e 'reversed)

the way you would need it is with t
I don't think it's a good idea to use those.  I don't need to move the
point to begin/end of the title interactively, but rather obtain their
positions in the buffer in Elisp code.


OK, I thought you wanted to do something interactive.

It might be useful to know what you to do with the title

(org-edit-headline) edits the title, and it looks like it uses org-complex-heading-regexp

(org-entry-get nil "ITEM") retrieves the title content

Reply via email to