GNU bug report logs -
#37772
26.3; Doc of recentf, particularly `recentf-list'
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37772 in the body.
You can then email your comments to 37772 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37772
; Package
emacs
.
(Tue, 15 Oct 2019 22:46:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 15 Oct 2019 22:46:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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'.
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.17763
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37772
; Package
emacs
.
(Thu, 17 Oct 2019 02:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37772 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> 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?
So I don't see anything to fix here and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
37772 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 17 Oct 2019 02:49:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37772
; Package
emacs
.
(Thu, 17 Oct 2019 15:44:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 37772 <at> debbugs.gnu.org (full text, mbox):
> > 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#37772
; Package
emacs
.
(Thu, 17 Oct 2019 17:12:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 37772 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 15 Oct 2019 15:45:48 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> Many users use recentf. Likewise, libraries. Nowhere is it said what
> order the files are listed in
Thanks, I added that.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 15 Nov 2019 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.