-
Notifications
You must be signed in to change notification settings - Fork 347
Emacs 25+, scan-sexp with standard syntax table causes infloop in syntax propertize #1315
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
Comments
Hmm, even if Then I do not see why yasnippets try to use different syntax table than is defined in the buffer. What is the point of messing with syntax table? |
Because it's parsing yasnippet syntax, which is independent of the major mode's syntax. So it looks like the question is why does yasnippet's temporary syntax-table manipulation affect the syntax propertize function in Emacs 25, but not earlier? I will open an Emacs bug. EDIT: Emacs bug #23443 |
Great. Thanks. |
The conclusion from the Emacs bug discussion is that it's expected behaviour, I will fix this in yasnippet (joaotavora/yasnippet#695) |
Good, thanks. |
This is a minimal example reduced from joaotavora/yasnippet#687.
In a git checkout of lates
master
(5d58314)emacs -Q -L . -l haskell-autoloads -l synprop-bug.el
causes an infinite loop. After hittingC-g
,*Messages*
containsError during redisplay: (internal--syntax-propertize 6) signaled (quit)
.synprop-bug.el
contains:This doesn't happen in Emacs 24.5, so it may be a bug in Emacs.
The text was updated successfully, but these errors were encountered: