Emacs startup time on Linux is 2.3 seconds
. When I exit Emacs with C-xC-c, it quits instantly.
This changes when I put only the following lines in my configuration:
(setq savehist-file (concat user-emacs-directory "savehist"))
(savehist-mode 1)
Then when starting Emacs, it took 4.5
seconds to start. That's nearly the double of the old startup time.
And when I quit Emacs, it tooks some time. I see only the message
wrote /home/ReneFroger/Dropbox/Emacs/places
before it finally quits.
I'm wondering which the savehist feature is consuming so much time? I didn't had this problem earlier.
~/.emacs.d/history
file? (or whateversavehist-file
is set to). Have you by any chance sethistory-length
to be enormous? (compared to its default of 100). Or added some huge vars tosavehist-additional-variables
? In any case emacs.stackexchange.com/q/12086/454 might help.savehist
. Now it gets fast again. But I still not understand why it was related to writingplaces
, but it's solved. PythonNut, you helped me again and I really appreciate your support!