[ Adding Org mailing list back to CC ]

Earl Chase <[email protected]> writes:

>> Thanks!
>  > I am looking at the patch, and I feel like a cleaner approach would be
>> modifying `org-link--normalize-string' instead. That can also be used
>> from `org-clock--create-clean-headline' as it also removes statistic
>> cookies and the pile characters.
>> WDYT?
>
> I could do that. But it may just make more sense to just drop
> org-clock--create-clean-headline. What I would do is have
> org-link--normalize-string remove pipe characters. Then
> org-link-heading-search-string could use org-link-display-format to
> remove links from headings before they are turned into search strings.

+1.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>

Reply via email to