avy icon indicating copy to clipboard operation
avy copied to clipboard

avy-org-goto-heading-timer does not find heading text inside org mode links

Open dandrake opened this issue 8 months ago • 0 comments

avy-org-got-heading-timer won't find heading text when the text is inside an org mode link. For example, if I search for "wizard", and I have a heading like:

* [[http://gnu.org][blah wizard blah]]

then that heading won't be found, even though it ought to match the regex built by the function, which for this example would be:

"^\\*+ .*\\(wizard\\)"

I don't see how that would fail to match the above text, unless somehow emacs' regex search is getting confused by the [ and ] in the string it's searching?

dandrake avatar Jun 08 '24 20:06 dandrake