GNU bug report logs -
#73709
29.4; Doc of `file-newer-than-file-p'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Tue, 8 Oct 2024 17:58:02 UTC
Severity: minor
Tags: notabug, wontfix
Found in version 29.4
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
> It's not about any implementation details. It's about
> what's meant here by "newer". And the answer is that
> it's about the recentness of the last modification.
It's not obvious that the time that a file existed is not meant.
Creation time is what came to my mind, and I find the actual meaning a
bit surprising. Maybe I even didn't use this function where I should
have and reinvented the thing because of a wrong expectation. So a +1
from me for trying to make it clearer.
I know already saving files may create a new file and rename the
existing one to a backup name - or keep the file etc. But anyway, let's
at least say that creation time is not meant, but most of the time, last
file modification.
Michael.
This bug report was last modified 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.