Skip to content

Emacs freezes when deleting long chunks from big files #233

@bechampion

Description

@bechampion

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions