`recentf-mode` is a mode that enables the "Open Recent" submenu, giving you quick access to files used recently, including in previous Emacs sessions. It can also be used without GUI by using the `recentf-open-files` command.
Questions tagged [recentf]
57 questions
20
votes
3 answers
replace splash screen with list of recentf
The splash screen is useful in the beginning, but now I want something more useful: I want to have list of recently opened files presented when starting emacs if there is no predefined file to open. Even better, if it can be the helm-recentf window…

biocyberman
- 962
- 7
- 17
11
votes
1 answer
How to clear recent files list?
I renamed few files using Dired. I noticed helm shows old names in the list of recent files (helm-recentf).
How do I remove the files that do not exist from recent files list?

Andrew-Dufresne
- 293
- 4
- 12
9
votes
1 answer
Recentf doesn't remember all files
I have the following problem with recentf. If I open a file from commandline like emacs myfile the file myfile doesn't appear in the list of recently opened files (I also checked directly the file .recentf). It doesn't matter if I change and save it…

student
- 1,007
- 9
- 29
8
votes
4 answers
Emacs can't save history of recent visited files opened in current session before shutdown
I have a problem with emacs started as daemon using Systemd.
Every shutdown/reboot if I don't stop emacs daemon service manually, the history of recent opened files in current session is lost.
I think this is because of the Systemd that can't…

Maglight
- 643
- 1
- 5
- 6
7
votes
4 answers
How show recent files?
windows 10, emacs 26.1
Suppose I open 10 files. And then restart Emacs.
After restart I need to see what files (recent) I was open before. Is it possible to show some buffer that contain name of this 10 files?

a_subscriber
- 3,854
- 1
- 17
- 47
7
votes
3 answers
How to remove files from recentf / ivy-virtual-buffers?
I find ivy's virtual buffers feature ((setq ivy-use-virtual-buffers t)) very handy for navigating to files whose buffers have been closed. Like ido's virtual buffers,it uses recentf to present those files as if their buffers were still open when…

Croad Langshan
- 3,192
- 14
- 42
7
votes
0 answers
How to let `recentf` not to remember real path when there's a symbolic link?
Since my .emacs.d is a symbolic link of ~/dotfile/dot/.emacs.d, recentf keeps duplicated thing like
/Users/user/.emacs.d/init/init-editor.el
/Users/user/dotfile/dot/.emacs.d/init/init-editor.el
because some command/functions the symbolic link path…

Saddle Point
- 481
- 7
- 23
7
votes
1 answer
Disable remote file cleanup in recentf?
When using recentf with tramp, recentf would clean up its file list including all remote files, which takes a lot of time when the Internet is bad. How can I ask recentf to not cleanup remote files, without disabling recent file list auto cleanup…

xuhdev
- 1,839
- 13
- 26
6
votes
2 answers
How change the storage location of recentf file?
I looked around, but I couldn't find any answer in the documentation of
recentf and with C-h v recent.
My default directory is set with the following:
(setq user-emacs-directory "~/home/ReneFroger/"
default-directory…

ReneFroger
- 3,855
- 22
- 63
5
votes
1 answer
How to suppress `Wrote /home/user/.emacs.d/recentf` message in minibuffer
In the minibuffer I keep seeing:
Wrote /home/user/.emacs.d/recentf
Would it be possible to suppress this message? (Only for file name recentf file)
my minimal.el:
(setq recentf-max-saved-items 50)
(setq recentf-max-menu-items 50)
(setq…

alper
- 1,238
- 11
- 30
4
votes
2 answers
How to open all the opened files from a previous session?
Whenever I open my spacemacs I see the recentf buffer which lists 5 files I had open in my previous session. There is only an option to open them one by one, and only five of them, because others are listed later in the same buffer, separately (sort…

VP.
- 187
- 1
- 9
4
votes
1 answer
Prevent Emacs from messaging when it writes recentf
I've configured Emacs to save recentf every five minutes by using this code:
(run-at-time nil (* 5 60) 'recentf-save-list)
It works great, but after writing recentf Emacs feels it has to tell me about it, so every 5 minutes I get a message in the…

izkon
- 1,798
- 10
- 23
3
votes
3 answers
Getting Rid of Constant "Recentf Changed On Disk" Error
I use spacemacs. It seems like every time I switch windows from spacemacs and come back to it I get the annoying error
recentf changed on disk; really edit the buffer?
I have tried disabling recentf mode, but other modes turn it back on…

George
- 879
- 5
- 17
3
votes
1 answer
Remove ELPA files from the recentf list
I recently started using recentf-mode. However, during a package refresh (using auto-package-update) my recentf list gets cluttered with all the package autoloads…

GergelyPolonkai
- 748
- 5
- 12
3
votes
1 answer
distinguish ido/ivy's virtual-buffers with equal names using directory?
I really like the ido-use-virtual-buffers/ivy-use-virtual-buffers features, but unfortunately if you have five files named style.css in different projects, it is less useful. With already-opened buffers in ivy-switch-buffer, I see…

unhammer
- 1,127
- 8
- 22