emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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: Thu, 28 Oct 2021 07:22:06 +0100	[thread overview]
Message-ID: <87cznppt2p.fsf@yandex.com> (raw)
In-Reply-To: <871r47yni8.fsf@localhost> (Ihor Radchenko's message of "Wed, 27 Oct 2021 14:45:19 +0800")

>>>>> Ihor Radchenko <yantar92@gmail.com> writes:

    > Colin Baxter 😺 <m43cap@yandex.com> writes:
    >> Ok, I now applied your patch and remade org-mode. Unfortunately,
    >> I don't see any change. I still get the warning on all the
    >> archive commands: org-agenda-archive-default, org-agenda-archive
    >> and org-agenda-archive-default-with-confirmation. I've appended
    >> the warning for the latter command.

    > Thanks for testing! My guess was incorrect and I am still unable
    > to reproduce using agenda (previously, I just tried archiving from
    > inside Org buffer).

    >> --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: todo.org_archive Current
    >> command: org-agenda-archive-default-with-confirmation 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:
    >> todo.org_archive Current command:
    >> org-agenda-archive-default-with-confirmation Disable showing
    >> Disable logging --8<---------------cut
    >> here---------------end--------------->8---
    >> 
    >> I've not tried it on emacs -Q yet. For that, do I need to start
    >> afresh and first delete the org-persist-directory?

    > You can simply start from emacs -Q + a new file (the new file will
    > not have any cache). In my testing, I just created a new org file,
    > opening it from emacs -Q -L /path/to/latest/org/lisp -l org
    > /path/to/the/new/file.org Then, I added a new TODO heading, opened
    > todo agenda for current buffer, and tried to archive the heading
    > from agenda.  No warning on my side.

    > You can repeat my steps and see what happens. If nothing, you may
    > try archiving from your todo.org (but still using emacs -Q). If
    > still nothing, it may be something about your config.

The warnings may be due to my use of ATTACH directories in agenda
files. I don't attach by id but prefer to use a directory for each node
and to link attachments to other files rather than copy. The attachments
also include other org-mode files. I should have time this weekend
to check this and to confirm if my configuration is responsible. 

Best wishes,

Colin.


  reply	other threads:[~2021-10-28  6:23 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 😺 [this message]
2021-10-28 17:49               ` Colin Baxter 😺
2021-10-29  4:13                 ` Ihor Radchenko
2021-10-29 13:49                   ` Colin Baxter 😺
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=87cznppt2p.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).