noctuid / link-hint.el

Pentadactyl-like Link Hinting in Emacs with Avy
GNU General Public License v3.0
160 stars 22 forks source link

Extremely slow when numerous links are contained in invisible overlays #206

Open akirak opened 2 years ago

akirak commented 2 years ago

(Possibly related to #9 but not sure if it is)

Hello, I encountered a situation where link-hint is extremely slow in scanning links.

See the following screenshot for example. There are numerous links (accumulated for four years) in the folded Org subtrees, and it is like an eternity to scan all links in the "visible" area of the window:

link-hint-4

A solution would be to check invisible overlay properties or use org-invisible-p function to skip invisible links.