From: "Colin Baxter 😺" <m43cap@yandex.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: , emacs-orgmode@gnu.org
Subject: Re: org-persist warning when archiving
Date: Fri, 29 Oct 2021 14:49:39 +0100 [thread overview]
Message-ID: <875ytggcuk.fsf@yandex.com> (raw)
In-Reply-To: <87v91g79jr.fsf@localhost> (Ihor Radchenko's message of "Fri, 29 Oct 2021 12:13:28 +0800")
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 <RET>
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 <RET>
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.
next prev parent reply other threads:[~2021-10-29 13:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-26 9:09 org-persist warning when archiving Colin Baxter 😺
2021-10-26 9:17 ` Colin Baxter 😺
2021-10-26 11:23 ` Ihor Radchenko
2021-10-26 14:43 ` Colin Baxter 😺
2021-10-26 15:05 ` Ihor Radchenko
2021-10-26 17:47 ` Colin Baxter 😺
2021-10-27 6:45 ` Ihor Radchenko
2021-10-28 6:22 ` Colin Baxter 😺
2021-10-28 17:49 ` Colin Baxter 😺
2021-10-29 4:13 ` Ihor Radchenko
2021-10-29 13:49 ` Colin Baxter 😺 [this message]
2021-10-29 14:28 ` Ihor Radchenko
2021-10-29 16:51 ` Colin Baxter 😺
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ytggcuk.fsf@yandex.com \
--to=m43cap@yandex.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).