The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [recentf]

`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.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Why does ido, when used with recentf, show candidates in the order it does?

Wanting to stay simple as possible I refrain from using Helm or Ivy etc. and use IDO. Ido-switch-buffer is supposed to allow me to access recently opened buffers quite efficiently with the help of ...
4
votes
2answers
202 views

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 ...
1
vote
0answers
13 views

Add recent files to .viminfo

Is there a package or code snippet that can make Emacs add recent files to .viminfo? I want this to use with v. (Basically to open recent files using fzf) I’m using Spacemacs (so evil, too), if that ...
1
vote
2answers
50 views

How can I get the list of recentf files from bash / cli?

How can I retrieve the list of recent files in bash? I'd like to get this set of files so I can use it with rofi. I could manually parse the data file that looks something like: ;;; Automatically ...
1
vote
1answer
54 views

temporarily disable recentf without writing the list to disk?

I'm trying out the dashboard package and noticed that my .org files kept getting added to the recentf list, because dashboard uses OrgMode to generate the agenda that it displays. So I added code to ...
2
votes
1answer
60 views

Where are recentf entries stored? How can I import them into another emacs installation?

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 ...
3
votes
1answer
136 views

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 ...
0
votes
0answers
64 views

Recentf buffer is not interactively

windows 10, emacs 26.1 I use ido mode. in my init.el (require 'ido) (require 'ido-vertical-mode) (ido-use-virtual-buffers t) (ido-mode 1) (ido-vertical-mode 1) (setq ido-vertical-define-keys 'C-n-...
3
votes
4answers
637 views

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 ...
0
votes
0answers
257 views

Disabling recentf mode?

I try to disable this via (recentf-mode -1) (setq recentf-mode nil) ;; mysteriously switches to t after some time but it keeps automatically turning on after some time and is causing problems for ...
1
vote
0answers
80 views

helm-mini doesn't show .org files in recentf

helm-mini has suddenly (since 2 days) stopped showing all .org files under the recentf category. However, my recentf file correctly records all the .org files that I have opened. I do not have this ...
4
votes
1answer
2k views

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?
1
vote
0answers
68 views

Disable recentf in helm follow mode

How can I prevent recentf to add files do the list which I didn't open but just previewed with helm follow mode?
6
votes
3answers
698 views

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 ...
1
vote
2answers
542 views

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 ...
2
votes
1answer
287 views

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 file: /home/polesz/.emacs.d/elpa/...
1
vote
1answer
1k views

spacemacs - How do I open from the recent file list?

I see the recent files listed when I boot up emacsclient -nc. How do I open them in the current window?
3
votes
1answer
290 views

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 ...
0
votes
0answers
48 views

recentf cleanup upon mode enabled: not saved in the actual recentf-save-file

When Emacs starts, it reports a non-existent file is removed from recentf. However, that removal was never saved to the recentf-save-file: the next time Emacs starts, the same removal is reported ...
2
votes
0answers
92 views

How to increase the number of recent file listings in helm-mini?

Is there a way to configure the number of recent files that will be in the Recentf section of a helm-mini buffer?
1
vote
1answer
67 views

Keep point position between re-opening files with recentf/ido

It's hard to say what was broken in my .emacs but with new Emacs 25.1.1 after opening file from recentf point is placed at the beginning of buffer whereas with Emacs 24 it opens in last viewed ...
3
votes
0answers
80 views

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 ...
1
vote
1answer
174 views

Make helm-recentf open files with external program?

tl;dr Which keymap is active in helm-recentf? Or is there a better way to accomplish my goal? I want to use emacs as my file browser. When I select a file with helm-find-files or helm-recentf, I want ...
1
vote
1answer
862 views

Ignoring specific files in recentf-mode [duplicate]

I use company-statistics to sort completion candidates by previous completion choices. It works perfectly, except there is only tiny problem. The file ~/.emacs.d/company-statistics-cache.el pops up in ...
3
votes
1answer
409 views

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, ...
3
votes
1answer
448 views

Open recent files buffer (recentf-mode) filled with autoload.el files

I've a problem with recentf-mode buffer in emacs. Apart from the files I opened before, its also showing all the autoload files for various packages I've installed which is cluttering the Open recent ...
0
votes
1answer
43 views

Show only file names starting with the given string in emacs history

When using C-x C-F to open a file, pressing ⇧ (up arrow) will iterate over the files I have recently opened. I believe the relevant lines from my ~/.emacs file are: (require 'recentf) (recentf-mode 1)...
1
vote
1answer
135 views

“Recentf”: Open file from *Open Recent* Buffer, but read-only

I'm using recentf-mode, part of Emacs. I'd like to open a file from the Open Recent buffer read-only, like if I had opened it via C-x C-r. Maybe if you type C-u in the Open Recent buffer before ...
4
votes
1answer
823 views

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/...
8
votes
2answers
415 views

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 ...
4
votes
1answer
765 views

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 ....
17
votes
3answers
3k views

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. ...