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

Emacs freezes when deleting long chunks from big files #233

Open
bechampion opened this issue Jul 30, 2024 · 0 comments
Open

Emacs freezes when deleting long chunks from big files #233

bechampion opened this issue Jul 30, 2024 · 0 comments

Comments

@bechampion
Copy link

When git-gutter is enabled , and you have a substantially large files (50k lines) , if you delete let's say 100 you notice a hiccup, if you delete 20k emacs doesn't come back.
File needs to be checked in git of course.
For now im using this

  "Enable a specific mode if the buffer has fewer than 1000 lines."
  (when (< (count-lines (point-min) (point-max)) 1000)
    (git-gutter-mode)))

(add-hook 'find-file-hook 'enable-mode-for-small-files)

Have any of you experienced this?

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

No branches or pull requests

1 participant