Open galeo opened 3 years ago
Thank you for reporting. Fixed by 5597eafa55934c67185e627c362663753f695865, hopefully.
The fix will soon be deployed to MELPA in few days. Could you try it from MELPA or master
branch?
Thanks for the fix. It works well when trying to call jit-lock-fontify-now
. However, emacs still freezes when trying to restore the previously opened swift file at startup. Act as before, the *Messages*
buffer will have a slight difference in output:
Error during redisplay: (internal--syntax-propertize 1437) signaled (quit)
Error during redisplay: (internal--syntax-propertize 3799) signaled (quit)
Error during redisplay: (internal--syntax-propertize 5863) signaled (quit)
Error during redisplay: (internal--syntax-propertize 7962) signaled (quit)
Error during redisplay: (internal--syntax-propertize 10068) signaled (quit)
Error during redisplay: (internal--syntax-propertize 12188) signaled (quit)
Error during redisplay: (internal--syntax-propertize 14213) signaled (quit)
Error during redisplay: (internal--syntax-propertize 16298) signaled (quit)
The swift file used for testing is the same. I don't know how to debug this problem.
I guess font-locking is just slow. I have no idea how to improve it.
When trying to call function
jit-lock-fontify-now
, this errror will occur.Here is the backtrace log:
Restart emacs, and when it tries to restore the previously opened swift file, it will freeze. By executing the C-g key serveral times, it will return to normal, and there will be the following output in
*Messages*
buffer: