emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble09.plus.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)]
Date: Sun, 04 Sep 2022 16:38:26 +0100	[thread overview]
Message-ID: <87fsh72lql.fsf@skimble09.plus.com> (raw)
In-Reply-To: <87bkrvxnbv.fsf@localhost> (Ihor Radchenko's message of "Sun, 04 Sep 2022 21:48:20 +0800")

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Ihor Radchenko <yantar92@gmail.com> writes:

> Sharon Kimble <boudiccas@skimble09.plus.com> writes:
>
>>> Could you please add
>>>
>>> (setq org-element--cache-self-verify 'backtrace
>>>       org-element--cache-self-verify-frequency 1.0)
>>>
>>> to your config and then try to reproduce the issue.
>>> Then, report the backtrace.
>>
>> As follows but rather long I'm afraid.
>
> Thanks! It is supposed to be that long. 
>
> From the logs, I can see that you have some kind of hook that is running
> before saving(?) buffer. That hook is doing something under
> (with-silent-modifications ...) and hence Org caching code is missing
> some buffer modifications.
>
> Can you please check if you are using some third-party package that are
> modifying the buffer on save?

I've found this, but I don't know if this is what you're meaning?

===        
#+BEGIN_SRC emacs-lisp
(defun force-backup-of-buffer ()
  (setq buffer-backed-up nil))

(add-hook 'before-save-hook  'force-backup-of-buffer)
#+END_SRC
[2017-02-07 Tue 05:46]
http://stackoverflow.com/questions/6916529/how-can-i-make-emacs-backup-every-time-i-save
http://www.tonyballantyne.com/EmacsWritingTips.html
=== 

If this isn't the cause of the problem, can you give me any hints as to what I should be looking for please?

Thanks
    Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.4, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 
-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmMUxnIdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1u9rxAAk2QOc9VjGWwAugYU
P0/ijtTptWk/Ij8wJdfzB+8Gs3nOtn9d8OsuhCYSjRJToDKxAFtxg079RW0AiJDJ
RErThMc9aC8EuEiBpP/0iDeAYOYDDFKFSAx6aS6kUIqQNGeu82/2+13hhM+aMq1f
+dQXP+Dc1CXkbotwr9aD4J5SfJnm3yol+1J0h10ayCG4+e6lZHrCv+/ziy2Z9oqq
LNAImZMNmm52Hd7pW89g0XfXERVxq8wm3o3mYXMP0W/qiTzG64Muy9EtN5MjG27Y
6Lixdjx3K8oEoC1gRjuKpu9BxfmjmXUqRgwL+7Tary9Fiul0odfykpJDyNGLQPrE
qML9YGaFrwrEOJAWE2WpRUFjza38W7tmIiKHOZfwRQGnvpZzuU4910wJff5S+o5l
EymGBnkoTHnMYgwH8q+cAGdJ5Sxn0drmuWExPlTrjpdd+KSM8Ni3jKBieDXhbzO4
JsOhjIlVO0H1qFxHGS81v2d5OoDYCYDq58AEwGaE/AfBd6q1sQ2zqY9FxUXpS0fy
mRSjjspfdzDjpoHbTO4C7DQl0msTC51OeNsca3gkovlJJ7YNDUYvU/l8NaNOsBLi
nKQon2rry0owuM2PLaWg1DGF+HFnmVu7HiIwrhKCENzFWhT9IoSzJ2QBMhMbzFCu
EFEhRNQRElfIuYH0FqvFZR1IGgo=
=223J
-----END PGP SIGNATURE-----


  reply	other threads:[~2022-09-04 15:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-04 10:21 [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)] Sharon Kimble
2022-09-04 10:46 ` Ihor Radchenko
2022-09-04 13:28   ` Sharon Kimble
2022-09-04 13:48     ` Ihor Radchenko
2022-09-04 15:38       ` Sharon Kimble [this message]
2022-09-04 15:58         ` Ihor Radchenko
2022-09-04 16:47           ` Sharon Kimble
2022-09-05  6:50             ` Ihor Radchenko

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=87fsh72lql.fsf@skimble09.plus.com \
    --to=boudiccas@skimble09.plus.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).