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

Fixes non-termination on zero width attribute. #10

Conversation

phillord
Copy link
Contributor

Previously, this would greedily hang on the text "[,]" because
as text-property-not-all was assumed incorrectly to always return
greater than point if it returned at all. In this case, we just
advance to end.

Closes #8
Closes #9

Previously, this would greedily hang on the text "[,]" because
as text-property-not-all was assumed incorrectly to always return
greater than point if it returned at all. In this case, we just
advance to end.

Closes sensorflo#8
Closes sensorflo#9
@sensorflo
Copy link
Owner

Thank you for your help. I did chose a slightly different solution (see commit e6b8e69) which fits better my mind, but you directed me directly to the point where I had to make the fix. I hope my solution doesn't miss some cases which your solution doesn't. Due to the tests I added I am quite confident.

@sensorflo sensorflo closed this Dec 20, 2014
tarsius pushed a commit to emacsmirror/adoc-mode that referenced this pull request Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

broken syntax [,] causes emacs to hang Infinite loop in adoc-kwf-attriblist
3 participants