GNU bug report logs - #46153
recentf should keep files in most recently used order

Previous Next

Package: emacs;

Reported by: reporter <laszlomail <at> protonmail.com>

Date: Thu, 28 Jan 2021 12:38:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 46153 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: reporter <laszlomail <at> protonmail.com>
Cc: "46153 <at> debbugs.gnu.org" <46153 <at> debbugs.gnu.org>
Subject: Re: bug#46153: recentf should keep files in most recently used order
Date: Fri, 29 Jan 2021 06:47:36 +0100
reporter <laszlomail <at> protonmail.com> writes:

> Apparently, this is all what's needed:
>
>   (add-hook 'buffer-list-update-hook 'recentf-track-opened-file)
>
> So buffer-list-update-hook should be added to recentf-used-hooks
> in recentf.el

Some people would want the current behaviour, so I don't think doing
this by default would be the right thing to do, but I can certainly see
people who'd prefer recentf to work in this way.

So I've mentioned doing this `add-hook' in the recentf-mode doc string
in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.