behaviour:
on evaluating M-x hide-lines-not-matching searchPattern the file hides lines that don't match the searchPattern, but also org links folding disables, turning text from

pretty link

into

[[https://linked.page][pretty link]]

expected behaviour:
hide-lines-not-matching should hide lines not matching searchPattern, without affecting link folding.

What is the reason for this behaviour, and how can it be changed?

  • I've tried to toggle the link folding with org-toggle-link-display and this seems to work, but not on all links. – mangelmentmanager Nov 24 at 11:47

I can't reproduce this behaviour at all anymore, so I'm assuming it's a bug either in org-mode or hide-lines. This wasn't fixed in any recent update on hide-lines, so I'm unsure what could have changed.

I will submit a bug report if I encounter it again.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.