reddit / emacs

How to clear the whole history / remembered stuff, cache etc.. (Doom emacs)

SHuRiKeN1812 · 2022-05-01 11:08
Hi all, I am new to using Doom emacs and emacs in general. This question is more for my own knowledge rather than an absolute need.. Is there a way to clear the whole doom emacs history / cache, if not what is the way of doing it manually i.e removing / purging those files that store them so it gets regenerated. I am a bit paranoid in a sense that to know where some stuff is like zshhistory for my zsh. Example - Reset Doom emacs remembering Recent files **(Space + f + r)** Update: I figured this much atleast.. that there is a recentf file inside cache directory but there are other files as well which seems a bit scattered but good to know tho. Thanks in Advance.
ThisKappaIsGrey · 2022-05-01 22:45
I believe that Doom saves all the local file info in the `~/.emacs.d/.local/` . If u look in that directory you'll find a `recentf` file (it might be in a `cache` subdirectory that you can remove.
SHuRiKeN1812 · 2022-05-02 11:52
Yep I figured that much out but there some scattered stuff like autosave files etc.. Thanks for the info !