emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] - Statistics cookie is part of the org heading title


From: Ihor Radchenko
Subject: Re: [BUG] - Statistics cookie is part of the org heading title
Date: Wed, 04 May 2022 13:32:10 +0800

Samuel Wales <samologist@gmail.com> writes:

> some code removes it.  for example creating a link to a headline using 
> capture.

Yeah. org-link--normalize-string. But it is internal function, so I would
not rely on it.

Also, rather than relying on regexps, I would use
org-element-headline-parser, extract parsed :title property, and filter
out statistics-cookie objects.

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]