I have a large text file that's over 8 MB. I can't really open it in desktop Emacs since it takes at least 30 seconds just to open the file via find-file, and it takes like 10 seconds for the screen to refresh appropriately when scrolling just one line or so. I tried setting the mode to fundamental, copying the whole text from the large file I mentioned that's opened in Sublime Text 2, and pasting to the emacs' buffer, and the text didn't show in 30 seconds so I killed the whole process. In Sublime Text 2, on the other hand, it just took 2 seconds to paste the whole text to another text file.
This doesn't happen in the terminal version of Emacs. Nor in other similar text editors like Atom or Sublime Text 2.
My Emacs: 24.5 (9.0) for OS X desktop.
M-x emacs-version
– phils May 06 '17 at 13:16emacs -Q
option, then it's something you can fix by working through your init file. If the problem persists, it's something at the OS level that may be trickier to sort out. – Tyler May 06 '17 at 16:25emacs -Q
. – Drew May 06 '17 at 16:55awk '{print length}' "NAME_OF_FILE" | sort -nr | uniq -c | head
show? – phils May 07 '17 at 00:26C-h i g (elisp)Profiling
– phils May 07 '17 at 00:29emacs -Q
then, you couldM-x report-emacs-bug
– phils May 07 '17 at 00:43