Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visible Org Links Sometimes Considered Invisible? #9

Open
noctuid opened this issue Jan 21, 2016 · 1 comment
Open

Visible Org Links Sometimes Considered Invisible? #9

noctuid opened this issue Jan 21, 2016 · 1 comment

Comments

@noctuid
Copy link
Owner

noctuid commented Jan 21, 2016

For some reason org links that were previously working stop working because they are no longer in the ranges determined by avy--find-visible-regions. Examining the (text-properties-at (point)) does not show 'invisible for any part of the link (except after jumping to the first invisible part of the link, which is correctly determined).

I'm not sure if this happens because there normally is invisible link text preceding an org link and avy--next-visible-point is just skipping over the visible part for some reason. The same seems to happen when using (link-hint--next-property-with-value 'invisible nil). Using (next-single-property-change (point) 'invisible) after going to the invisible point correctly finds the link start though.

However, this happens even when org-descriptive-links is set to nil (e.g. sometimes for "[[Heading]]" when it is completely visible), and will happen on and off for org file and url links, so I have no idea what the problem is. This may related to #6?

noctuid added a commit that referenced this issue Jan 21, 2016
@noctuid
Copy link
Owner Author

noctuid commented Jan 21, 2016

This issue is fixed, but I want to figure out why it was happening (in such a seemingly random manner).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant