From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Goaziou Newsgroups: gmane.emacs.devel Subject: Re: Arithmetic range error Date: Sat, 09 Feb 2019 00:44:43 +0100 Message-ID: <87o97l6e1g.fsf@nicolasgoaziou.fr> References: <87k1iaft1p.fsf@yandex.com> <8736oye8gm.fsf@yandex.com> <83va1upgdp.fsf@gnu.org> <83r2cipeah.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="37160"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 00:45:08 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gsFpT-0009R8-Uq for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2019 00:45:08 +0100 Original-Received: from localhost ([127.0.0.1]:36859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsFpT-00089k-0T for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 18:45:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsFpH-00089c-8v for emacs-devel@gnu.org; Fri, 08 Feb 2019 18:44:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsFpG-0005Ca-FC for emacs-devel@gnu.org; Fri, 08 Feb 2019 18:44:55 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:38265) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsFpG-00059n-9M for emacs-devel@gnu.org; Fri, 08 Feb 2019 18:44:54 -0500 X-Originating-IP: 185.131.40.67 Original-Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 958A360006 for ; Fri, 8 Feb 2019 23:44:47 +0000 (UTC) In-Reply-To: (Robert Pluim's message of "Fri, 08 Feb 2019 15:18:40 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.195 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:233152 Archived-At: Hello, Robert Pluim writes: > Eli Zaretskii writes: > >>> From: Robert Pluim >>> Date: Fri, 08 Feb 2019 14:34:29 +0100 >>> Cc: emacs-devel@gnu.org >>>=20 >>> The problem comes from org's desire to have the ctime as a single >>> integer. Reverting the commit that changed org to use 'floor' will >>> just result in truncation (but people might not care about that, since >>> we=CA=BCd be dropping the high bits of the timestamp). Ideally org would >>> handle the list form of timestamps, but that=CA=BCs something for org >>> developers to decide. >> >> Indeed, this is a matter for Org developers to handle. CC'ing Bastien >> for that reason. > > Nicolas does a lot of org work as well, CC'd. > > Thinking about it some more, the old method already truncated the > ctime anyway, and has done for a long time, so perhaps restoring it is > not unwarranted. I modified Org (master branch) so that it uses the list representation of time values in this situation.=20 Thank you for the suggestion. Regards, --=20 Nicolas Goaziou