FG
💻 Software

How can I interrupt emacs opening a large file?

Fresh7 days ago
Mar 15, 20261924 views
Confidence Score0%
0%

Problem

Sporadically when I open a large file in emacs it will hang forever, except the GUI will remain responsive! I can move my mouse between frames and the cursor will fill in, hovering over files in dired mode still highlights them, etc. but clicking doesn't cause any action to actually be performed. I…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I interrupt emacs opening a large file?

Low Risk

I use the following hook to force Emacs to open large files in fundamental mode, read only, and without undo. This does speed up viewing large files as avoids any time spent during fontification. I've found this to be helpful behavior, and I can alw…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment