From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QNV1H9n8e2ExUAEAgWs5BA (envelope-from ) for ; Fri, 29 Oct 2021 15:53:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OI4jG9n8e2G+ZQAA1q6Kng (envelope-from ) for ; Fri, 29 Oct 2021 13:53:29 +0000 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 B5BECA26C for ; Fri, 29 Oct 2021 15:53:28 +0200 (CEST) Received: from localhost ([::1]:40530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgSJz-000056-88 for larch@yhetil.org; Fri, 29 Oct 2021 09:53:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgSGg-0006g2-EN for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 09:50:02 -0400 Received: from forward500p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:110]:54066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgSGU-0007N1-2j for emacs-orgmode@gnu.org; Fri, 29 Oct 2021 09:50:02 -0400 Received: from iva8-c786f07cfd6d.qloud-c.yandex.net (iva8-c786f07cfd6d.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:7211:0:640:c786:f07c]) by forward500p.mail.yandex.net (Yandex) with ESMTP id DE00AF01C92; Fri, 29 Oct 2021 16:49:42 +0300 (MSK) Received: from iva5-057a0d1fbbd8.qloud-c.yandex.net (2a02:6b8:c0c:7f1c:0:640:57a:d1f [2a02:6b8:c0c:7f1c:0:640:57a:d1f]) by iva8-c786f07cfd6d.qloud-c.yandex.net (mxback/Yandex) with ESMTP id inxDiIBWd7-ngEKpg2l; Fri, 29 Oct 2021 16:49:42 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1635515382; bh=o+9fXn4A//i1YRWCIK9C0icPBmrSu4LCb+I0TRtnBI4=; h=In-Reply-To:Subject:Date:References:To:From:Message-ID:Cc:Cc; b=JRLKy4v54VbGVQbMYdkxeFK9U197xjjRe1cz5gsGkiNh69ZLFbxEDmjdn4OPXL+18 timGmUCstwZmzAzZwRnlnw7ozZ9ue2b3u4zqEsPUW619Hzt1I97Y8ku94xh88c+U2C 7Nrj+6ZfouCIa8YoJKuLrOzvSld/VaY/CNpLBzkQ= Received: by iva5-057a0d1fbbd8.qloud-c.yandex.net (smtp/Yandex) with ESMTPS id fOlVskKIiJ-neJuM79B; Fri, 29 Oct 2021 16:49:41 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 2 From: =?utf-8?Q?Colin_Baxter_=F0=9F=98=BA?= To: Ihor Radchenko Subject: Re: org-persist warning when archiving References: <87wnm0rw3b.fsf@yandex.com> <87sfworvq8.fsf@yandex.com> <87cznsuj05.fsf@localhost> <87fssng83r.fsf@yandex.com> <874k93vnan.fsf@localhost> <87sfwn1xwf.fsf@yandex.com> <871r47yni8.fsf@localhost> <87cznppt2p.fsf@yandex.com> <87sfwlqbtu.fsf@yandex.com> <87v91g79jr.fsf@localhost> X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T X-Message-My-Extra-Message: 8-) We are the only ones here =?utf-8?B?8J+YuiDwn5i6IPCfmLo=?= Date: Fri, 29 Oct 2021 14:49:39 +0100 In-Reply-To: <87v91g79jr.fsf@localhost> (Ihor Radchenko's message of "Fri, 29 Oct 2021 12:13:28 +0800") Message-ID: <875ytggcuk.fsf@yandex.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:6b8:0:1472:2741:0:8b7:110; envelope-from=m43cap@yandex.com; helo=forward500p.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635515608; 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=o+9fXn4A//i1YRWCIK9C0icPBmrSu4LCb+I0TRtnBI4=; b=S83Ak/XwOnQUCjj8lhBsrURpkXyFf6V1WDCSo4Z72L5pxjNPB7H2CkoNqJOqCnhUbvUyuX Fruk7wdf4NsVf259urBvBHoTuYrEeMT1+7KtAexhpNTrJaucRKE6SexRggcvwKA9rWBTfo R/1xazRVo+W55PZEuRzO/Mx9aqdQ4zZ7T6kV51D2fGSOQS7qnG9iFOosxkeUJT1MSBA5f8 twzETq5vnL7otA5F8X8h/i4D08lnE0mfBrIbdarT2R82NnAiMTnPxPI7XmKjkYjnsXtTH8 Bo7bmDrdqmiauy3juHjXfM0dJ7542RPGYEiN4//Z4U7vpBndBMcEwQlDxRIX5A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635515608; a=rsa-sha256; cv=none; b=Qxw/Qy0VTfPRpKIudknbp+lPTnV85L9dVbSgEcdn4Gd9KqxZSpcq0zpJXNGxRV+Frb4kxT /HPdyDxJcyLfDpKya8pRl4FKI0XhJv4pAUQHxaahcpM39kuh0HBoNOJbMIcS/wC8vxgs3U GI1cW8uMIAqMuSbdY7gJ3koH136i7/zJJJzwGIVZTuy8pCaE2XR5VAH8J/OuhGIrOcAe0D 8vNO7xRngjiAaCR9Qb5EEhVGNirA52syLoxmCvL/DrNiNihioTc5Ygc99y6yaSy0amS9jW epkaD7n9+EwzweGxN1NetGmCWuXeJKISFz7ohI4iwBfHZ/4vRVPQrdBmqRcRmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=JRLKy4v5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yandex.com header.s=mail header.b=JRLKy4v5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yandex.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B5BECA26C X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: VF4e0+tMI036 Hi Ihor, My ECM is as follows. I'm using GNU-Linux and emacs-28.0.60. 1. Delete any existing org-persist directory. 2. mkdir ~/a 3. emacs -Q 4. Evaluate path to latest org-mode. I enter (add-to-list 'load-path (expand-file-name "~/path/to/git/org-mode/lisp")) in the scratch buffer and do C-j. 5. C-x C-f ~/test.org 6. Enter the following in test.org: * Test :PROPERTIES: :CATEGORY: Test :DESCRIPTION: Test :ARCHIVE: ~/a/%s_archive::datetree/* Test :LOG_INTO_DRAWER: LOGDRAWER :END: ** TODO archive test SCHEDULED: <2021-10-29 Fri> # Local Variables: # eval: (setq org-adapt-indentation t) # End: 7. Same the file and close down emacs in order to populate the or-persist directory. 8. emacs -Q 9. Evaluate path to latest org-mode, as before. 10. Open ~/test.org and make the TODO as DONE. 11. Save ~/test.org 12. I think I then closed down emacs and re-launched emacs to ensure org-persist noted the changes. I don't think this step is necessary. 13. With cursor on DONE do C-c C-x C-a to archive the item. 14. Item is archived to ~/a but with the warning: --8<---------------cut here---------------start------------->8--- Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting. If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report). The buffer is: test.org_archive Current command: org-archive-subtree-default Disable showing Disable logging Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting. If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report). The buffer is: test.org_archive Current command: org-archive-subtree-default Disable showing Disable logging Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting. If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report). The buffer is: test.org_archive Current command: org-archive-subtree-default Disable showing Disable logging --8<---------------cut here---------------end--------------->8--- 15. If the test is repeated but with :ARCHIVE: ~/a/%s_archive::datetree/* Test removed. Then we get the warning --8<---------------cut here---------------start------------->8--- Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting. If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report). The buffer is: test.org_archive Current command: org-archive-subtree-default Disable showing Disable logging --8<---------------cut here---------------end--------------->8--- It would appear that the local variables and the archive path are both conspiring to produce the warning. Best wishes, Colin.