emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/bo


From: Sharon Kimble
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

-----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 via email to

[Prev in Thread] Current Thread [Next in Thread]