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

tide-format very slow #427

Closed
theweipeng opened this issue May 12, 2021 · 4 comments
Closed

tide-format very slow #427

theweipeng opened this issue May 12, 2021 · 4 comments

Comments

@theweipeng
Copy link

(require 'web-mode)
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . web-mode))
(add-hook 'web-mode-hook
          (lambda ()
            (when (string-equal "tsx" (file-name-extension buffer-file-name))
              (setup-tide-mode))))
;; enable typescript-tslint checker
(flycheck-add-mode 'typescript-tslint 'web-mode

I used the config in tide's readme.
Whenever I use tide-format, my emacs hung up.
image
the web-mode-fontify used 90% of the time;

@theweipeng theweipeng changed the title web-mode-fontify very slow tide-format very slow May 12, 2021
@ananthakumaran
Copy link
Owner

Refer debugging section and find the response time for format command on tsserver. Since this is a synchronous command UI will get blocked till the format is done. If the tsserver is not taking much time, then please post the full profile report here.

@theweipeng
Copy link
Author

tsslog:

image

profiler screenshot:

image

profiler txt:

[profiler-profile "24.3" cpu #s(hash-table size 145 test equal rehash-size 1.5 rehash-threshold 0.8125 data ([nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 217 [eval format-mode-line doom-modeline-format--main eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil] 2 [abbreviate-file-name locate-dominating-file or or +javascript-tide-project-root-a apply tide-project-root tide-project-name tide-current-server tide-send-command tide-command:documentHighlights tide--hl-identifier tide-hl-identifier tide--hl-identifiers-function apply timer-event-handler] 1 [locate-dominating-file or or +javascript-tide-project-root-a apply tide-project-root tide-project-name tide-current-server tide-send-command tide-command:documentHighlights tide--hl-identifier tide-hl-identifier tide--hl-identifiers-function apply timer-event-handler nil] 10 [doom-modeline-format--main eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 2 [eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 2 [abbreviate-file-name locate-dominating-file or or +javascript-tide-project-root-a apply tide-project-root tide-project-name tide-current-server tide-send-command tide-send-command-sync tide-format-region tide-format funcall-interactively call-interactively command-execute] 1 [locate-dominating-file or or +javascript-tide-project-root-a apply tide-project-root tide-project-name tide-current-server tide-send-command tide-send-command-sync tide-format-region tide-format funcall-interactively call-interactively command-execute nil] 3 [tide-send-command-sync tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 8 ["#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil] 1 [web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively] 6 [web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 1 [web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 6 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 19 [web-mode-attr-scan web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 11 [web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>"] 1 [web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 3 [web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region] 1 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function] 11 [web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region] 2 [web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function] 2 [web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 1 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 156 [font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 23 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 94 [font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 16 [web-mode-fontify-attrs web-mode-fontify-tag web-mode-fontify-tags web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 3 [mapcar font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 13 [web-mode-fontify-tag web-mode-fontify-tags web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively] 4 [font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 7 [web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively] 8 [font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 12 [mapcar font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 17 [web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively] 6 [web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 6 [web-mode-attr-scan web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 8 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 22 [web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 3 [web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>"] 2 [web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 5 [web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function] 3 [web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region] 1 [web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 2 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 156 [web-mode-fontify-attrs web-mode-fontify-tag web-mode-fontify-tags web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 5 [web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively] 13 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 96 [mapcar font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>"] 13 [web-mode-fontify-tag web-mode-fontify-tags web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 2 [web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively] 10 [font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 9 [web-mode-tag-next web-mode-fontify-tags web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 1 [mapcar font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 11 [font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 20 [font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 16 [web-mode-dom-rsf web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 2 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 8 [web-mode-attr-scan web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region] 1 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region] 1 [web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 3 [web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute] 10 [font-lock-unfontify-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 9 [font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil nil nil] 1 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>"] 9 [web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>"] 1 [web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region] 1 ["#<compiled 0x4185c42f>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 2 [font-lock-compile-keywords font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 5 [font-lock-unfontify-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 9 ["#<compiled 0x4185c42f>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 4 [font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 1 [web-mode-looking-back web-mode-interpolate-javascript-literal web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 1 [font-lock-unfontify-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 6 [web-mode-jsx-skip web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 1 [web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 2 [web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 3 [web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit] 1 [web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region] 1 ["#<compiled 0x4185c42f>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil] 1 ["#<compiled 0x4185c42f>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 3 [font-lock-unfontify-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 6 [web-mode-javascript-rsb web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively] 1 [web-mode-is-comment-or-string web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 1 [web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 2 [web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan] 1 [web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region] 1 [web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region] 5 [web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit] 2 [looking-back web-mode-looking-back web-mode-interpolate-javascript-literal web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 2 ["#<lambda 0x23f6ff65da0493>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute] 1 [web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 2 [web-mode-closing-paren-position web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>"] 1 [web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region] 4 [looking-back web-mode-looking-back web-mode-interpolate-javascript-literal web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 1 [font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 1 [remove-overlays tide-unhighlight-identifiers tide--hl-identifiers-before-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil] 2 [web-mode-tag-next-position web-mode-tag-next web-mode-fontify-tags web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 1 [font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format] 2 [web-mode-javascript-rsf web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively] 1 [web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region] 1 [internal--syntax-propertize re-search-forward font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute] 1 ["#<compiled 0x4185c42f>" font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region web-mode-fontify-region web-mode-fontify-part web-mode-fontify font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 2 [web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert] 2 [web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 2 [web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit] 1 [web-mode-dom-rsf web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region] 1 [web-mode-closing-paren web-mode-jsx-skip web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar] 1 [web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits] 1 [web-mode-closing-paren web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan] 1 [web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute] 1 [font-lock-fontify-keywords-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil] 1 [tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil nil nil nil nil] 1 [match-string-no-properties web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map] 1 [match-string-no-properties web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-apply-edit "#<compiled 0x1ff544762f79>"] 1 [web-mode-attr-scan web-mode-attr-skip web-mode-scan-elements web-mode-jsx-scan-element web-mode-part-scan web-mode-jsx-scan-expression web-mode-jsx-scan-element web-mode-part-scan web-mode-scan-region web-mode-invalidate-part-region web-mode-scan web-mode-extend-region font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert] 1 [font-lock-default-fontify-region font-lock-fontify-region font-lock-after-change-function tide-insert tide-apply-edit "#<compiled 0x1ff544762f79>" mapcar -map tide-apply-edits tide-format-region tide-format funcall-interactively call-interactively command-execute nil nil] 1 [doom-modeline-segment--major-mode eval redisplay_internal\ \(C\ function\) nil nil nil nil nil nil nil nil nil nil nil nil nil] 1 [ucs-normalize-region ucs-normalize-HFS-NFD-region ucs-normalize-hfs-nfd-pre-write-conversion file-name-case-insensitive-p abbreviate-file-name locate-dominating-file or or +javascript-tide-project-root-a apply tide-project-root tide-project-name tide-current-server tide-send-command tide-command:documentHighlights tide--hl-identifier] 1 [find-coding-systems-region select-safe-coding-system write-region tide-sync-buffer-contents tide-send-command tide-command:documentHighlights tide--hl-identifier tide-hl-identifier tide--hl-identifiers-function apply timer-event-handler nil nil nil nil nil] 1 [ucs-normalize-region ucs-normalize-HFS-NFD-region ucs-normalize-hfs-nfd-pre-write-conversion write-region tide-sync-buffer-contents tide-send-command tide-command:documentHighlights tide--hl-identifier tide-hl-identifier tide--hl-identifiers-function apply timer-event-handler nil nil nil nil] 1 [tide-sync-buffer-contents tide-send-command tide-command:documentHighlights tide--hl-identifier tide-hl-identifier tide--hl-identifiers-function apply timer-event-handler nil nil nil nil nil nil nil nil] 1 [locate-dominating-file or or +javascript-tide-project-root-a apply tide-project-root tide-project-name tide-current-server tide-send-command tide-sync-buffer-contents tide-send-command tide-command:documentHighlights tide--hl-identifier tide-hl-identifier tide--hl-identifiers-function apply] 4 [evil-escape-p evil-escape-pre-command-hook nil nil nil nil nil nil nil nil nil nil nil nil nil nil] 1 ["#<compiled 0x1ff54223303d>" mapatoms amx-detect-new-commands counsel--M-x-externs counsel-M-x funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil] 4 [amx-detect-new-commands counsel--M-x-externs counsel-M-x funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil] 1 [mapatoms amx-detect-new-commands counsel--M-x-externs counsel-M-x funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil] 1 [counsel--M-x-externs counsel-M-x funcall-interactively call-interactively command-execute nil nil nil nil nil nil nil nil nil nil nil] 1 [setq cond let let* ivy--reset-state let* progn progn let* ivy-read counsel-M-x funcall-interactively call-interactively command-execute nil nil] 4 [mapcar regexp-opt-group regexp-opt thing-at-point--bounds-of-well-formed-url thing-at-point-bounds-of-url-at-point thing-at-point-url-at-point thing-at-point cond substring-no-properties ivy-thing-at-point if setq let* ivy--reset-state let* progn] 1 [save-current-buffer progn if while let let global-evil-surround-mode-enable-in-buffers funcall condition-case doom-run-hook run-hook-wrapped condition-case let while let doom-run-hooks] 1 [ad-Advice-select-window apply select-window progn unwind-protect save-current-buffer let progn if let* if ivy--format save-current-buffer if prog1 ivy--update-minibuffer] 1 [counsel-M-x-transformer ivy-rich-format-column "#<compiled 0x1ff5434dd589>" mapconcat ivy-rich-format ivy-rich--counsel-M-x-transformer mapcar setq save-current-buffer progn unwind-protect save-current-buffer let progn if let*] 5 [ivy-rich-counsel-function-docstring ivy-rich-format-column "#<compiled 0x1ff5434dd589>" mapconcat ivy-rich-format ivy-rich--counsel-M-x-transformer mapcar setq save-current-buffer progn unwind-protect save-current-buffer let progn if let*] 2 [advice--make-docstring documentation ivy-rich-counsel-function-docstring ivy-rich-format-column "#<compiled 0x1ff544093c41>" mapconcat ivy-rich-format ivy-rich--counsel-M-x-transformer mapcar setq save-current-buffer progn unwind-protect save-current-buffer let progn] 2 [funcall if if let* ivy--format-minibuffer-line mapcar condition-case funcall concat let ivy--wnd-cands-to-str let* if ivy--format save-current-buffer if] 1 [condition-case if let* progn unwind-protect let unwind-protect let* progn progn let* ivy-read counsel-M-x funcall-interactively call-interactively command-execute] 100 [read-from-minibuffer condition-case if let* progn unwind-protect let unwind-protect let* progn progn let* ivy-read counsel-M-x funcall-interactively call-interactively] 6 [doom-modeline-refresh-bars redisplay_internal\ \(C\ function\) read-from-minibuffer condition-case if let* progn unwind-protect let unwind-protect let* progn progn let* ivy-read counsel-M-x] 1 [doom-modeline-segment--major-mode eval format-mode-line doom-modeline-format--main eval redisplay_internal\ \(C\ function\) read-from-minibuffer condition-case if let* progn unwind-protect let unwind-protect let* progn] 1 [ivy--format-minibuffer-line mapcar condition-case funcall concat let ivy--wnd-cands-to-str let* if ivy--format save-current-buffer if prog1 ivy--update-minibuffer let progn] 1 [let evil-state-property let* progn if evil-refresh-cursor ad-Advice-select-window apply select-window progn unwind-protect save-current-buffer let with-selected-window with-ivy-window progn] 1 [profiler-stop funcall-interactively call-interactively command-execute counsel-M-x-action funcall if unwind-protect prog1 cond let* ivy-call let* progn progn let*] 2 [Automatic\ GC] 0)) (24734 14351 58942 0) nil]

@ananthakumaran profiler report text above

ananthakumaran added a commit that referenced this issue May 14, 2021
This commit attempts to reduce the number of times
`after-change-functions` is called when edits are applied. Otherwise,
with large enough buffer and complex font locking rules, emacs could
get blocked for long time.

Ideally the start and end of the region that is being changed should
be supplied to the function, but I am not sure how it could be
calculated easily as each edit affects successive edits' region.

For now, I have settled on using the min max point of the buffer and
apply the optimization only if there are more than two edits.

see #427
@ananthakumaran
Copy link
Owner

@bigteech could you try #428

@theweipeng
Copy link
Author

@bigteech could you try #428
I tried #428, the problem is solved, thanks :)

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

No branches or pull requests

2 participants