2

I've installed emacs on a new OS, and would like to maintain my 'recentf' file history entries (they'll be in the same location thanks to symlinks).

Where are these entries stored? And how could I export + improt them to the new emacs installation?

4

To determine where the recentf file is, you can query the variable recentf-save-file. By default, that is ~/.emacs.d/recentf. In spacemacs that is ~/.emacs.d/.cache/recentf.

You can copy this file over to the new machine, or you can open the file and copy the entries. AFAIK there is no functionality to import/export, as that's a very exclusive use case and often doesn't make much sense across machines.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.