[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master d0c77a1: Remove some assumptions about timestamp format
From: |
Michael Albinus |
Subject: |
Re: master d0c77a1: Remove some assumptions about timestamp format |
Date: |
Fri, 28 Sep 2018 12:35:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> I installed the attached, which should be a win independently of what
> Tramp needs as it adds support for time-equal, infinite and NaN time
> values. I hope it's enough for Tramp too in that it can use a NaN (or
> an infinity) to represent a timestamp that a filesystem can't possibly
> have.
Thanks. Comments:
> address@hidden time-equal t1 t2
Shouldn't this be `time-equal-p', as we have already `time-less-p'?
> +This returns @code{t} if @var{t1} and @var{t2} are equal time values.
> +The result is @code{nil} if either argument is a NaN.
No. Tramp (and other functions) must check, whether a given time value
is the "don't know" value. Therefore,
(time-equal time-value 0.0e+NaN)
must return t, if time-value is a NaN. And what if either value is a
float infinity?
Best regards, Michael.
- Re: master d0c77a1: Remove some assumptions about timestamp format, (continued)
- Re: master d0c77a1: Remove some assumptions about timestamp format, Michael Albinus, 2018/09/26
- Re: master d0c77a1: Remove some assumptions about timestamp format, Paul Eggert, 2018/09/27
- Re: master d0c77a1: Remove some assumptions about timestamp format, Eli Zaretskii, 2018/09/28
- Re: master d0c77a1: Remove some assumptions about timestamp format, Michael Albinus, 2018/09/28
- Re: master d0c77a1: Remove some assumptions about timestamp format, Paul Eggert, 2018/09/28
- Re: master d0c77a1: Remove some assumptions about timestamp format, Paul Eggert, 2018/09/28
- Re: master d0c77a1: Remove some assumptions about timestamp format, Michael Albinus, 2018/09/28
- Re: master d0c77a1: Remove some assumptions about timestamp format, Paul Eggert, 2018/09/27
- Re: master d0c77a1: Remove some assumptions about timestamp format,
Michael Albinus <=
- Re: master d0c77a1: Remove some assumptions about timestamp format, Paul Eggert, 2018/09/28
- Naming predicates (was: master d0c77a1: Remove some assumptions about timestamp format), Stefan Monnier, 2018/09/28
- RE: Naming predicates (was: master d0c77a1: Remove some assumptions about timestamp format), Drew Adams, 2018/09/28
- Re: Naming predicates (was: master d0c77a1: Remove some assumptions about timestamp format), Paul Eggert, 2018/09/28
- Re: Naming predicates, Stefan Monnier, 2018/09/28
- RE: Naming predicates, Drew Adams, 2018/09/28
- RE: Naming predicates (was: master d0c77a1: Remove some assumptions about timestamp format), Drew Adams, 2018/09/28