GNU bug report logs - #37772
26.3; Doc of recentf, particularly `recentf-list'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 15 Oct 2019 22:46:02 UTC

Severity: minor

Found in version 26.3

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 37772 <at> debbugs.gnu.org
Subject: bug#37772: 26.3; Doc of recentf, particularly `recentf-list'
Date: Thu, 17 Oct 2019 15:41:09 +0000 (UTC)
> > Many users use recentf.  Likewise, libraries.  Nowhere is it said
> > what order the files are listed in, i.e., the order of the elements of
> > `recentf-list'.  The answer is apparently that, by default at least,
> > a file is pushed to the front of the list when it is "opened" or
> > written.
> >
> > A more exact answer is that `recentf-list' is in reverse
> > chronological order of calls to `recentf-track-opened-file'.
> > And by default that function is added to these hooks:
> > `find-file-hook' and `write-file-functions'.
> 
> I think that seems pretty self-evident -- the doc strings talk about
> "most recent" etc, so what other ordering could be meant?

It's not obvious at all.  That the 30 most recently
opened files are listed says _nothing_ about the
order in which they're listed.

And nothing is said about the situations when (by
default) the list (`recentf-list') is updated.
The answer is in the hooks.  It's not about
re-selecting the window of a file buffer or
changing a file outside Emacs, for instance.
(Not by default, at least.)

> So I don't see anything to fix here and I'm closing this bug report.

Unfortunate.




This bug report was last modified 5 years and 276 days ago.

Previous Next


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