From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IE6TJqx1aWKNBQAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 18:56:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uAm9Jqx1aWJsRQEAauVa8A (envelope-from ) for ; Wed, 27 Apr 2022 18:56:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 78C50168CC for ; Wed, 27 Apr 2022 18:56:12 +0200 (CEST) Received: from localhost ([::1]:49800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njkxX-0000md-Jb for larch@yhetil.org; Wed, 27 Apr 2022 12:56:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njkx0-0000mE-4A; Wed, 27 Apr 2022 12:55:38 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:7844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njkwx-0004pU-65; Wed, 27 Apr 2022 12:55:36 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id F41054423EC; Wed, 27 Apr 2022 12:55:32 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C5DAA4423EA; Wed, 27 Apr 2022 12:55:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1651078531; bh=Ho1ZWP8aNmqFhXWUj9wMBO4lC49sHh4WL3T2jOEajuw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=mpAQyxNFM3xu2Oup8N2vrhxKjfI/pL3+UcwfxtSSzw1OTn458phECxYTJd9lz0EwT iI2lv6MDOYPtc7hppmgYwByJese3w/P8pZmRQl7+cjrdQX7AFM90jappLGy46IjvA5 5TGytf7bXhAPBn9FfRLrcvBKRg/1P3r+oomJCQJ0/mKSA3n+xnRUmk9JsQkgwpLsy/ CR+ag01ni3F6sBiJY0xlBoekPPN8HEK6MD1dVUImD3KyV5X+puuOYcwilw2E14aM8x uZ7zE8wPTYLjpEusr9Y0wHjSiwfwzVRvlsAFhmD3qOLUgzGY73ChQJ+HS4x6nvXVfv h55I1Rqm+HUxA== Received: from alfajor (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id ADCD2120278; Wed, 27 Apr 2022 12:55:31 -0400 (EDT) From: Stefan Monnier To: Paul Eggert Cc: Mark Barton , emacs-devel@gnu.org, emacs-orgmode Subject: Re: master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc. Message-ID: References: Date: Wed, 27 Apr 2022 12:55:30 -0400 In-Reply-To: (Paul Eggert's message of "Wed, 27 Apr 2022 00:39:01 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651078572; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dEWJU9gmyX2sVl2SWs2fMMqbGHFww7274qIalIykWog=; b=jTI7/SlKohQ+EwzvylfjurvYXoBh9cjtQLhr58J4p8mZBH3fBU7O7rzi45mAaQFZn734US y//LQ2G95isdrqE2iVwXWbDa6oSjDHS5ERE5OcCBnDWXz2+Go/hnVJlFqz+ObKUBaoR9Va P57Kty6opXQ9X5wikGKLYRdSkAySrbKg4XSEidMot54D4rJb46jifXnZyFnsRR21zqwh3P RSddW0C7/l0QfabZFBmkwO/UWrGgZK7xVLoczZ6GwawO7KmTRDpuPwhDshUQ46H+yuLpb3 jKp7263uaHM2L2/4JoAYAGuyDnvHfPgViZT8279flFMHZRcUVrHOL9cu9mNiEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651078572; a=rsa-sha256; cv=none; b=NnwJa+SCE6Sn5CrJVQxCDoEN3w7ocICzKkULubSXvJX+UyC+jD6eTN1Jf6bMcevtb6tvWm AdK1YibztJp+77oCfpbHzmtuymS5Ge3F5xSRAYNHCPTXVST3hsRFvelui4coY8TnJD3r+X yopeOl6jKi9VfiD2QuyA5L53lMta9bmhjWHLkTRdVUv69czCSu9jCtimmG68RNxCqhbA+k 3floArOPLK9pfwtGt78zd4Ju7/31sVsWSbv3FSrY0CZDsDBcdeFUI1GKbI8Fh6jAKXmXsf lUpGAZXhd5+A6LDOejfXw7bWlvZGsL29L53P+Y5s89Gq/RhrnhtqefuONVf/2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=mpAQyxNF; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iro.umontreal.ca header.s=mail header.b=mpAQyxNF; dmarc=pass (policy=quarantine) header.from=iro.umontreal.ca; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 78C50168CC X-Spam-Score: -5.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1b6qOWAfzEVH > - (not (time-less-p (cl-subseq (nth 5 (file-attributes file)) 0 2) > - (cl-subseq time 0 2))))) > + (not (time-less-p (org-time-convert-to-integer > + (nth 5 (file-attributes file))) > + (org-time-convert-to-integer time))))) Instead of rounding the times to whole seconds, wouldn't it make more sense to check that the difference is larger than 1s? Stefan