From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ONEiAT7laGLBbAEAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 08:39:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OKxDAD7laGLlggAAG6o9tA (envelope-from ) for ; Wed, 27 Apr 2022 08:39:58 +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 899F9380A6 for ; Wed, 27 Apr 2022 08:39:57 +0200 (CEST) Received: from localhost ([::1]:59724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njbL6-0001di-Ov for larch@yhetil.org; Wed, 27 Apr 2022 02:39:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njbJI-0001cr-Fv; Wed, 27 Apr 2022 02:38:00 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:44598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njbJG-0006fu-Hz; Wed, 27 Apr 2022 02:37:59 -0400 Received: by mail-pl1-x633.google.com with SMTP id j8so738516pll.11; Tue, 26 Apr 2022 23:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=T3waFiczmPGF9c+OmlUiPhGEjYK5LRgveyL50bsIjLk=; b=lc8OWTuqO+dgJ2hFKmCmVaX1mHEVhPxAJudS8WmyAcqn8DW+GSeq7Tn7OUxYxVpkYC wY2zEmGGyFL71zPdYy/xkuViIeNEAU/nsn2BBgNxSk/WmTRD3sVWY2jnD8Y8uVZsWevO IXSDGOdzWV9s/1UIhTzogGebKKRLSuSK4YLk35AgWQTkn6v1HEOtYDkDIapZ1Qn60j6h BdTdvixcNjBJB8Dp4cv9X6tY43h0LJlnsYxtowP7t8tq1QTP2mIKQLG8nfJAxJuzq4Eh H8cm0eCXlEqPCMXHYx4VWrzg0YTtnCtdOIR7n9twkaL8StCd/jKLNWdo9RdaISlu9Gaw wfRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=T3waFiczmPGF9c+OmlUiPhGEjYK5LRgveyL50bsIjLk=; b=ReyipdSn8pO5fME/+Sacx0rE9wKuuamP992Qre45JIuvLLdiyNLgsr60M6e3Nx8Axs jcwHS3yaEpxVcxSC+YIcUPaAM//TyJUXDbK8R4ajfYHatxO64ZD4rnepbGzie2vIaCSL vXwSRSUMiLjXDl3gSzbKcTbcz0espbYuCitZppSdW6LUsFewAkyOWddphvbYM+HPGRrG HMgeKZXfrkxz4c3bhZDODjBwo3NsNy7IVKww5vvT4QKSNQf1Q9fuVV4qIIJTkuQrWAZZ gbX8dChxmv9RhAr48GOWIgWrYBM7E0w8B1zpptO2xomsDVCAqvszyN3NgAHTLL4xQMOA CBNA== X-Gm-Message-State: AOAM533Y/tzECBCC1+R4luanBITuJ2ALu+vi4TNJNVjHBOsKUq26XnRG HQD24XO+sMNuAPsCGxwSvYY= X-Google-Smtp-Source: ABdhPJw+93LKCUp69df9ALvk62rzSaccLfPeN+f8ie3GxcdJF589ftC3l/sWbygQel2Qimt2jLILEA== X-Received: by 2002:a17:90a:d083:b0:1c9:94bb:732d with SMTP id k3-20020a17090ad08300b001c994bb732dmr31252442pju.106.1651041475465; Tue, 26 Apr 2022 23:37:55 -0700 (PDT) Received: from smtpclient.apple (2603-8001-7a00-01a0-69ee-c135-2e90-bba7.res6.spectrum.com. [2603:8001:7a00:1a0:69ee:c135:2e90:bba7]) by smtp.gmail.com with ESMTPSA id 95-20020a17090a0fe800b001cd4989ff47sm1218373pjz.14.2022.04.26.23.37.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Apr 2022 23:37:54 -0700 (PDT) From: Mark Barton Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc. Message-Id: Date: Tue, 26 Apr 2022 23:37:50 -0700 To: eggert@cs.ucla.edu, emacs-devel@gnu.org, emacs-orgmode X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=mbarton98@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FAKE_REPLY_B=1.566, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=1651041597; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=T3waFiczmPGF9c+OmlUiPhGEjYK5LRgveyL50bsIjLk=; b=Y4o0gbgL7MkVnwqk3E24wQ3zC4wSXELJHiqH4NoQzJYP0GMxeG31fwryXXwy+bT2MApa/k AMu0bHo7MPexXpwSdu+8ZkKZa4MoLiL/UrawJ1KpQhOHiXAIRUOicDxLvM9YQIEChiBJ9a TvL6qNw7mFw9IOlwBcIrDaD+oeCJN7xr2xU4PtDRmL6sJZ7PeUlLfSVByez3n/BjyaiRDh /N+jySkVPhPm9rTKDXK5kOpMQroEgD/+2XKb5Az2B+sYpy+ILyMimiOqrooFIkyaUYnug5 YtAs/wN/BOwGL72QCW9H4pJvcTg4MD94/DuWpSOJz0LYH5ieEJzjJHl48DdJbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651041597; a=rsa-sha256; cv=none; b=EPwAp96433hDSBLNrakjmzw2tIVh4+pbDz0yBi3CdcghpEA/umO70COu1VW1Kb/5yaJxPM 0ZWj9PVhWAHTxGDoez6k3Tx/afU9/wTBVl1JbYkOdMzrRqYM+KmOVmGdkWQFu8+B7RlIdd Y3OOhUjkuKMSP1E6VLPnOD2LBB4Gihf898xRuQ3BGZ66Edizw7ZeGuqiAYLla137AubY7C mYpTIy5dhX6II9IvLBkKslGCPYofdDifvxk1w0qLR1tz7BST7mg0Zb1OFXIbuE3WI4fQ9p 8Qv/X7sH2HV0ry3SoPOfvOt53UC0t72SysSg4whppRDZjs8Dsv2Zd7MUWPuUyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lc8OWTuq; dmarc=pass (policy=none) header.from=gmail.com; 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: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lc8OWTuq; dmarc=pass (policy=none) header.from=gmail.com; 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: 899F9380A6 X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: IeRX65MT9tKs The change also breaks org-file-newer-than-p function that triggered the = debugger while loading my init that uses org babel. I was able to use = the example of the patch that Paul Eggert provided earlier for the = desktop-save to add the time-convert to =E2=80=9Cfix=E2=80=9D = org-file-newer-than-p as shown below. Not positive that I needed to = change it in both places, but it works for me now on macOS Monterey. modified lisp/org/org-macs.el @@ -264,8 +264,8 @@ org-file-newer-than-p ;; (e.g. HFS+) do not retain any finer granularity. As ;; a consequence, make sure we return non-nil when the two ;; times are equal. - (not (time-less-p (cl-subseq (nth 5 (file-attributes file)) 0 2) - (cl-subseq time 0 2))))) + (not (time-less-p (cl-subseq (time-convert (nth 5 = (file-attributes file)) 'list) 0 2) + (cl-subseq (time-convert time 'list) 0 2)))))