Questions tagged [savehist-mode]

4 questions
11
votes
2 answers

High CPU/memory usage and abnormally large savehist file?

I'm starting to use Spacemacs and occasionally I get stuck with Emacs beginning to require infinite amount of CPU and memory. Inspecting my .emacs.d/.cache folder reveals that the file savehist is 1.16 GB large... Deleting this file made Emacs work…
xji
  • 2,545
  • 17
  • 36
8
votes
2 answers

Saving open file list and buffer command history in between sessions

I've discovered desktop-save-mode which allows Emacs to be closed and when it reopens, it appears with the same files that were open before. I want to take this a bit further and I was wondering if I could also: Save the history of files I've open…
Galder Zamarreño
  • 1,527
  • 2
  • 12
  • 21
1
vote
1 answer

How do I disable savehist-autosave in emacs?

Because my emacs editor has become completely unreliable / unusable due to the frequent freezes - I'd like to disable this. But I can't figure out how? The actual issue is described by myself and others here:…
0
votes
1 answer

Persist variables (and maybe input history) across restarts

Sometimes I wish to persist the value of some variable when I quit emacs. For example, I would like to do this for compile-command. Now, I guess I could find the hook that is run when Emacs quits (assuming there is one, a quick scan through the list…
AnoE
  • 356
  • 1
  • 11