From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: master d0c77a1: Remove some assumptions about timestamp format Date: Fri, 28 Sep 2018 12:35:03 +0200 Message-ID: <877ej5ap0o.fsf@gmx.de> References: <20180925021527.10418.61555@vcs0.savannah.gnu.org> <20180925021528.9A119204E8@vcs0.savannah.gnu.org> <87bm8lanwu.fsf@gmx.de> <87o9ck6270.fsf@gmx.de> <2cfc5ca3-d661-f431-397a-705682ab17eb@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1538130855 17464 195.159.176.226 (28 Sep 2018 10:34:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Sep 2018 10:34:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 28 12:34:11 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5q66-0004RC-Op for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2018 12:34:10 +0200 Original-Received: from localhost ([::1]:42572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5q8C-0005gd-W8 for ged-emacs-devel@m.gmane.org; Fri, 28 Sep 2018 06:36:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5q7R-0005eZ-Sk for emacs-devel@gnu.org; Fri, 28 Sep 2018 06:35:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5q7O-0001dc-2m for emacs-devel@gnu.org; Fri, 28 Sep 2018 06:35:33 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:43451) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5q7N-0001HZ-I5 for emacs-devel@gnu.org; Fri, 28 Sep 2018 06:35:29 -0400 Original-Received: from detlef.gmx.de ([178.20.94.84]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzKQf-1fkN7R2Fyz-014Ql3; Fri, 28 Sep 2018 12:35:04 +0200 Original-Received: from detlef.gmx.de ([178.20.94.84]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LzKQf-1fkN7R2Fyz-014Ql3; Fri, 28 Sep 2018 12:35:04 +0200 In-Reply-To: <2cfc5ca3-d661-f431-397a-705682ab17eb@cs.ucla.edu> (Paul Eggert's message of "Thu, 27 Sep 2018 18:50:40 -0700") X-Provags-ID: V03:K1:eWoRy2hS9zKe6ZA515WfM4xjS7YlVXlmiKhkqVcwVQVLOjvJZZs kMbDeZ0RyclLkV6twA7EPFv+6VbCmRLbFRt5r6XSk9VvHcItu2Hf4dBpemQCERBNi7fu0JC lDj8SLcINvRYDb+vL1DbpjMeStsw/Epsi+pZDwmzHeP3crBEd8BLi5kklbPUznrXqU3UfDe qoN/dCiybshk1wlmlUntQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:5LbrU/EqC0k=:C29vss0pBY60YWaNO7DHpj BU65W8oJXhmQZHaq9XbiSV3U5oBSvgyQhGZ2ro+QmJSyGmtSiFBvvAtdMbaIWs6BMuR9rQON5 +q0ZdTdB6bx5IB9LLlymaSXmO9mf6U71G0ucSGG2M+97sWlGgmLwXrKw/oKppu4d6g/FxUBoI tcyG2ghCw9/6wuBZxV0FH3mcfe/egUzWn9OUTJYR8n09kt0BELyzjFBwL5GgQH/UypqM8gtQh rCUijPuSTPd3WZRu3LFK8/fyRH0iHPadWX2SDogKNwHGYUuihtdONDSOYdMABfRpes7U0elf4 xVFLhIzBM10EkkX8zTA7GtzQr2vfz1Hmh9wVJ+ncJjmIrpyWqLTKFjQOhkP7bU0Y3xY2YXLNx Maks4jxbzKdGvvxWk/P0NmJcLfCjR/MBZvidktR/AS4+CFYGyOFpJElAu+tddwewFvhBG3/m5 WlKXDOwPR12QZKpxIsF6pDYLzkvrS0asu/uWo6mIvZocYDp4UgbXp9+N9asYgI51o6499KXJ/ zZqPoKkmnHfsZGBgR/72LCseL7meP8oyoLsXQAE3M3VNZRZJZj1imshFhxFpsbAAEyoon73E4 vNR9VATDNXdt99JclZWpT6sgByPmosfXPaPu1TkEDGh42Z5uSstMDv4WF+v+9AAZRnOdCv52/ F89cnL1PgZllX/hGHZaeMYxYgns6XVw9Kz0nNGXKf+ihrvJR7Yo6auQEXdLJH9I4OaU6rC+gV AtxA7Q4gqsGEG2sKQpcSFoZ7jzSDtfIGxNswt2J5Ud11/Q73tZ9imSLvjdqf0MjcFE44Qsnv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230103 Archived-At: Paul Eggert 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: > +@defun 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.