From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sKzfHWfyaGJJcgAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 09:36:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OEneHWfyaGK7HgAAauVa8A (envelope-from ) for ; Wed, 27 Apr 2022 09:36:07 +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 117F2390E0 for ; Wed, 27 Apr 2022 09:36:07 +0200 (CEST) Received: from localhost ([::1]:38026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njcDV-0002BJ-Jc for larch@yhetil.org; Wed, 27 Apr 2022 03:36:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njbyQ-00070H-Qc for emacs-orgmode@gnu.org; Wed, 27 Apr 2022 03:20:32 -0400 Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:42981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njbyO-00041n-QG for emacs-orgmode@gnu.org; Wed, 27 Apr 2022 03:20:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651044026; bh=/qEraMFO7LZrr9Ta+9eXADM/1aq8B1mizzzm33FN8Ag=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=svbDwU32U7M71Gbe9geDehwpQjPgSYWvC4piRTGc9eVpAKGNxJjXF1hLIMe3f/aDiUSg1Wr3l2f3ds+XuAsIb6JpA2KIF0w2E6ZQ+ckjgCvQfnwJLfzimQPJPHYQh4A8VlF7YT+Sditgbt7O/T6I9GiMJSeNmVUDkLHsu+90OoGALqXA7hHvkh2QZOO2upL0GuO+i5uApqJRc+ogcX0WLrmuRpXTsEIGvkrfTqg1jNBYYn4ogwSgFRgiTueivyb/wi7jdOBTtGXFd6ewo/M77wbQCBVpQmiyodAVJFYpfFZ2SpiqAOoI+5sDu5oOduA+R4xyOqOajacKpsRGXn5bhQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651044026; bh=bFzixY+jYpEbX3lXo+H25wuqtTV5LGM/7//s+m2wZkJ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=pvO2rvIyqtGT2KllzjxFH0br69pXuNPpnK9Mhlcfpgx7qb6PvbwGJVCK5z7gM3Cy4vwcS78rykSarPYuR1lFLb0IAMubw2/ixNcPuPBYXuNG2UJzQBSaHs4ftz4RTl/IYRIFTmox6Tdnub9lYWNrBsxg3UXWHf1J/z0m7TL3+mnLbodQ4uZtwYFMnpqKfWxYITvMfH413229lPsjn0KJ3tc5USjnjGRXjTfeQ+ceQ+BGNQX/eMJ1c+XpedP5gzJTaqki+N8xZNz+hjwDjxOStngj7gFREdcXjCQs4HH45LG0cf3j+yvhCHBVqjPJ6Guy1OtGejpQ+QaU8xor+lbsTw== X-YMail-OSG: tkEqhokVM1lGRL125rBfdKuFmx8KfVMsihtn1d22CGVPiIzTb2kYLK5W9reKDGT VhEPZ.AncrsfBN7fmz2Zl2d36jCQ41d41.LftyFXBckmfEuoAn5O25hIrc7G7jwXqiadV8KSQ4M7 1wQD6GldbDaWPAyFaUOTenceT3FYnxQcluf7P_8ARgsS9yK3FnkK4EwsLw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OWMplmYOaEd8ppr1ifA.GNhqdJAVrQ8CY8.Si8b4an0ByHIzdnTHON0SomKdBcTBOx YsSS71bWaeFYTNeJDBo8gadMuRooHc4K..6R475vlF.88hXNrzH7iCzO7AXTNwarqvlGHsEDYDPi ypaM5snHRB2OR450xhplCMwujxx_2BzaWRp3RspJAmmw42dzdSaIVmwKPoxCmtLKxe6WafllFD3i XTkTaGocRwRqxSvoHExYq3m3hNTLeqlVHJH.dV3vhFhfJavrO1Sf979Fc939QjR2s4WKaqjZBqqc iaVDI2nXSn3JqU7Qalpj7xD6NvBjBGj5IVPlLJvYHVg.sdVcqiE0skE_Pgfv6ZZTl9j2BUTXUp8Y b9vDQd70VYzZffgF2TLJRwBT2raqRDSGNQ16FUBPyzNBu_n_B.FB8eWzsjPdbnlVZbInrnz6loPR XsQJw0xjsEd3qs.g4iqS1S84xaZLBWwq6pnIzJy33lte.l.KfP5EX924aHh9NfXq1MERYpj3dZ6V Mxy7fCVBcGMiCfQuQK2ffVMpzVfSHPS2kUQGZu58H7CFu1rwjscTFx.rt0uazEfVrX9GLq8.KaPA QKpI9NZOJoAdmU4F5f9paptjpd1iuMk7EOel_4c8g1qcmPS94PdKDrUVxWfblV9raxVTiv4gireH VveNXcaxFgD0iWLQQVz53OdyNosBAEu_kWPRIJauPoD6QBjX9Dm1G0La7YZ2t5ap2VsXdrrbvyHg sMODNKI2BbNXdnBAqmOKRUSFfVW1EU1ei0CH.Sa3WLETaTJkmnUJNSgDRa32ze.tcNC7E2w9phQT 95eRlM9aIfgHBlF_9qShkmSUyiQoAs83hLMo7Mlq5RXJ7KtMmiReXG0f2n3Zrr.qSLaDmZa8gjeP MjmSSkhsyMTqLfJMV89guP8ZiOu_TS3YUCK5SGKhoUAnAD.wRTkez0ictz55tIt8I0kGlyxXfMGF zi2fKlpc0snO1cRp4MN4VBvrvrgpVeTymHzZFC96eUl.OPF9FNN_M X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Wed, 27 Apr 2022 07:20:26 +0000 Received: by hermes--canary-production-sg3-795d7b4d54-mkmbd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d243b4cdaf4cc9cc05a8ca9dcfe6b633; Wed, 27 Apr 2022 07:20:21 +0000 (UTC) From: Po Lu To: Mark Barton Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org, emacs-orgmode Subject: Re: master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc. References: Date: Wed, 27 Apr 2022 15:20:16 +0800 In-Reply-To: (Mark Barton's message of "Tue, 26 Apr 2022 23:37:50 -0700") Message-ID: <87r15j0z7z.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20118 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.199; envelope-from=luangruo@yahoo.com; helo=sonic301-30.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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-Mailman-Approved-At: Wed, 27 Apr 2022 03:35:32 -0400 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=1651044967; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=/qEraMFO7LZrr9Ta+9eXADM/1aq8B1mizzzm33FN8Ag=; b=GZkLdpE6mBzBdPJLQD2j1ot3jR+wB1Nn8+akJ9ZIE06g9swDz5Zbm3Ogov0p9DUYwSYKMj zHTZT79KaIj3YXSNq+J/OA2bWnQb2ewyoVa8Ja74uqn3GoPW7CpNd2cJWeTmSYp+bef8bN Qv1CrHpsrWHaOShUso8dFEAMM+fmMUclj2x7Wfo30S+nU4XtB3zeylpCe2/YN8d8Qwo8xE Pyg0E5aAhEKk+56L7VXTPDjKysVJnF/bqCkOcM9DmFSvV/jobaxy0OVmamaOQw4UpkOnQK OS1TfkS0137jY3XnkB959/JYy04dWJIoa7c3l5g6EZ0vp0il86B/5HSD1jLcTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651044967; a=rsa-sha256; cv=none; b=BKpdOIohnCwkBY1BV7zSY7leLtj7SO3Qbc7bJRzTLRBHqxC+7pKrQf5Le8EaDDz4kfACPX iEE6hSagW3c/d1M1is+pZmb9JLky9rv+x1e6ehvw3f9mmTE5DLfHEfylPMPWF3ZYjc3NbD e8T2YX2KwlI4gefOEnGSWsnAbzTFAYOGKqw4k5jqRLNZeq1iGvWXDjroQX7OHmqZim/DvS IRMLGUgTWWkSgF2Pmd27YgvOV79oeUoEMR6rgmxi3w5of4w9Fm5xQBe5EzW1jBp8DKGpho PhABwHx3ez3kF8ShWWpdsnW/EA8oJQ2Ult9Mt0Us0e3cdcYCTRu4niUDm8D8yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yahoo.com header.s=s2048 header.b=svbDwU32; dmarc=pass (policy=reject) header.from=yahoo.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: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yahoo.com header.s=s2048 header.b=svbDwU32; dmarc=pass (policy=reject) header.from=yahoo.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: 117F2390E0 X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: KbIvj3eaciR9 Mark Barton writes: > 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-ne= wer-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-attribute= s file)) 'list) 0 2) > + (cl-subseq (time-convert time 'list) 0 2))))) Isn't the fact that changes are needed in multiple pieces of in-tree code a wake-up call demonstrating it's too early to change the default time format?