From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GDYAL7++72HKCgAAgWs5BA (envelope-from ) for ; Tue, 25 Jan 2022 10:11:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AJVrLL++72FTdwAA9RJhRA (envelope-from ) for ; Tue, 25 Jan 2022 10:11:27 +0100 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 66B532A20A for ; Tue, 25 Jan 2022 10:11:27 +0100 (CET) Received: from localhost ([::1]:49544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCHrK-0004P5-6K for larch@yhetil.org; Tue, 25 Jan 2022 04:11:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCHmc-0001sr-SJ for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 04:06:34 -0500 Received: from ciao.gmane.io ([116.202.254.214]:39268) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCHma-00017j-Ts for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 04:06:34 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nCHmX-00033V-Hu for emacs-orgmode@gnu.org; Tue, 25 Jan 2022 10:06:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Julien Cubizolles Subject: run org-clock-load after org-revert-all-org-buffers ? Date: Tue, 25 Jan 2022 10:06:25 +0100 Message-ID: <875yq8i3qm.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:hQkxHlrRmoCT2mGzZYCkMYQGREo= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643101887; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=N7dP+1jFz9ky2oRHnnjrZlIVXqylBtTmq50Z8aYv6dE=; b=dj9PT48DOcJ0NXEUPzuYLhuYDgbNSwXDoVnEg4y2aExdzFOsnP5UZD1MnyXWucWvBhkhiX TGBDb8qqHbE5Ut+wabzMgyHbH9ENvvxM/hd7H67yOHW3f/ROWNq9YF6mNoc6Yvk3rFfi4s M779MKFEUrv3R/+P5M6eZqspgaz/SDmutMw3BK+FBKDUEkXAa/Z0B8ZuFwkJMkwRcZKRFM ogESBUav8EdDAUc4azDlJ4Lv5Pwst+79MDJA+ENLLMgGQ29s+Ezfs0Qh0GGwfmtnkwxtF3 kySn+c4RutW8vBTZrHcAqADOXW/+v6uHlBRGWS2K6LujA7w4XSW8fBH4W5O2XA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643101887; a=rsa-sha256; cv=none; b=HjjqsvleYVJ+e3TF+nd1KZunIqwL4tIH6QxqgOlMSn5Hn2Sjs895jZbeAeYLqdY//pTAbw 5VJii4jbnhN9pxULMTS3YGYfqbNGSCkOtIqo97elQ9TbblTO/Ry/K9Jpq/cvl0vyqx2y+u Ma8y32wvTDnfHMm36KvWUnZnnoEORwsS4UATmJFGKje/wUtJJ9b0vwhUsvoO0cOpeHhr9e NHztuYIgKPREYUBfpliiIW3sEu7lA/EcNiafLBSivkTzuhg7er0ZI/ngS7CqDvx8y1JunK 8BcbMZsSw2lQJq0V9h/wg+6NHoESMHblJ/MZ5j04jDX0+/9yRDkF0l4+62uoTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=free.fr (policy=none); 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: -1.53 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=free.fr (policy=none); 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: 66B532A20A X-Spam-Score: -1.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: SaeEgYmZpmTU org-revert-all-org-buffers is useful when synchronizing org data between different systems. In that case, one has to also synchronize clocking data. It would make sense to also run org-clock-load after org-revert-all-org-buffers. I didn't find an appropriate hook, is there a better way than advising org-revert-all-org-buffers? -- Julien Cubizolles