emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
@ 2021-10-30 15:17 Aaron Jensen
  2021-10-30 15:39 ` Ihor Radchenko
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-10-30 15:17 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

I don't have a consistent repro, but I am seeing this error often. At
different times it is in different files and lists different nodes.

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: 20211025-journal
 Current command: nil Disable showing Disable logging


Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
 of 2021-10-29
Package: Org mode version 9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)

current state:
==============
(setq
 org-roam-db-location "/Users/myuser/.emacs.d/var/org-roam.db"
 org-mac-grab-devonthink-app-p nil
 org-link-elisp-confirm-function 'yes-or-no-p
 org-directory "xxx"
 org-hide-emphasis-markers t
 org-bibtex-headline-format-function #[257 "\300.\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-download-file-format-function 'org-download-file-format-default
 org-roam-mode-hook '(evil-motion-state)
 org-agenda-custom-commands '((" " "Agenda"
                               ((agenda "" ((org-agenda-span 'day)))
                                (tags "refile"
                                 ((org-agenda-overriding-header "Tasks to Refile")
                                  (org-tags-match-list-sublevels nil))
                                 )
                                (tags-todo "-refile/!"
                                 ((org-agenda-overriding-header "Tasks")
                                  (org-agenda-skip-function
                                   '(org-agenda-skip-entry-if 'deadline
                                     'scheduled)
                                   )
                                  )
                                 )
                                (tags "-refile/"
                                 ((org-agenda-overriding-header
                                   "Tasks to Archive")
                                  (org-agenda-skip-function
                                   'aj/skip-non-archivable-tasks)
                                  (org-tags-match-list-sublevels nil))
                                 )
                                )
                               )
                              )
 org-agenda-skip-scheduled-if-done t
 org-agenda-files '("xxxx")
 org-journal-dir "xxxx"
 org-journal-date-format "%a, %-d %b %Y"
 org-capture-templates '(...
                         )
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-refile-targets '((nil :maxlevel . 9) (aj/refile-target-files :maxlevel . 3))
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-default-notes-file "notes.org"
 org-roam-find-file-hook '(org-roam-buffer--setup-redisplay-h
                           org-roam--register-completion-functions-h
                           org-roam--replace-roam-links-on-save-h
                           org-roam-open-id-with-org-roam-db-h
                           org-roam-db-autosync--setup-update-on-save-h)
 org-refile-use-outline-path 'file
 org-publish-timestamp-directory "/Users/myuser/.emacs.d/var/org/timestamps/"
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-ascii-format-drawer-function #[771 ".\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-mac-grab-Outlook-app-p nil
 org-catch-invisible-edits 'show
 org-mac-grab-Addressbook-app-p nil
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-mode-hook '(aj--org-download org-tempo-setup aj--add-recalc-table-hook
                 evil-org-mode aj--org-line-spacing
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-show-all append local] 5]
                 #[0 "\300\301\302\303\304$\207"
                   [add-hook change-major-mode-hook org-babel-show-result-all
                    append local]
                   5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes
                 aj/org-prettify-symbols org-superstar-mode org-indent-mode
                 orgonomic-mode org-appear-mode org-eldoc-load
                 electric-pair-local-mode aj--disable-line-numbers flyspell-mode)
 org-babel-load-languages '((shell . t))
 org-src-window-setup 'current-window
 org-id-locations-file "/Users/myuser/.emacs.d/var/org/id-locations.el"
 org-roam-ref-annotation-function 'org-roam-ref-read--annotation
 org-roam-directory "xxx"
 org-journal-after-entry-create-hook '(aj--org-journal-after-create-entry)
 outline-mode-hook '(form-feed-mode)
 org-agenda-span 3
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-roam-db-node-include-function #[0 "\300\207" [t] 1]
 org-download-abbreviate-filename-function 'file-relative-name
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-skip-scheduled-if-deadline-is-shown t
 org-reveal-start-hook '(org-decrypt-entry)
 org-export-with-section-numbers nil
 org-agenda-compact-blocks t
 org-download-annotate-function 'org-download-annotate-default
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-trigger-hook '(aj/org-save-all-org-buffers-eventually)
 org-agenda-skip-timestamp-if-done t
 org-journal-find-file 'find-file
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-loop-over-headlines-in-active-region 'start-level
 org-roam-verbose nil
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-capture-prepare-finalize-hook '(org-roam-capture--install-finalize-h)
 org-src-preserve-indentation t
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-roam-db-autosync-mode t
 org-confirm-elisp-link-function 'yes-or-no-p
 org-superstar-headline-bullets-list '("●" "⭘" "▶" "▷" "»" "›" "•")
 org-tags-exclude-from-inheritance '("project")
 org-log-buffer-setup-hook '(evil-insert-state)
 org-id-link-to-org-use-id 'create-if-interactive
 org-clock-out-hook '(nano-modeline-org-clock-out)
 org-speed-command-hook '(org-speed-command-activate
                          org-babel-speed-command-activate)
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-clock-persist-file "/Users/myuser/.emacs.d/var/org/clock-persist.el"
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-mac-grab-Mail-app-p nil
 org-journal-mode-hook '(#[0 "\301\b\302\303\304$\207"
                           [org-journal-encrypt-on add-hook
                            org-journal-encryption-hook nil t]
                           5]
                         (lambda nil
                          (add-hook org-journal-encrypt-on
                           'org-journal-encryption-hook nil t)
                          )
                         )
 org-journal-time-format ""
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-export-backends '(md gfm ascii html icalendar latex odt)
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-persist-before-write-hook '(org-element--cache-persist-before-write)
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
                      org-babel-header-arg-expand)
 org-mac-grab-Acrobat-app-p nil
 org-export-with-toc nil
 org-link-shell-confirm-function 'yes-or-no-p
 org-babel-pre-tangle-hook '(save-buffer)
 org-journal-file-type 'weekly
 org-superstar-remove-leading-stars t
 org-agenda-skip-timestamp-if-deadline-is-shown t
 org-capture-mode-hook '(nano-modeline-org-capture-turn-off-header-line
                         evil-insert-state)
 org-occur-hook '(org-first-headline-recenter)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-roam-node-annotation-function 'org-roam-node-read--annotation
 org-link-parameters '(("eww" :follow org-eww-open :store org-eww-store-link)
                       ("rmail" :follow org-rmail-open :store
                        org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store org-irc-store-link
                        :export org-irc-export)
                       ("info" :follow org-info-open :export org-info-export
                        :store org-info-store-link)
                       ("gnus" :follow org-gnus-open :store org-gnus-store-link)
                       ("docview" :follow org-docview-open :export
                        org-docview-export :store org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store
                        org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export org-bbdb-export
                        :complete org-bbdb-complete-link :store
                        org-bbdb-store-link)
                       ("w3m" :store org-w3m-store-link)
                       ("doi" :follow org-link-doi-open :export
                        org-link-doi-export)
                       ("attachment" :follow org-attach-follow :complete
                        org-attach-complete-link)
                       ("roam" :follow org-roam-link-follow-link)
                       ("message" :follow org-mac-message-open)
                       ("x-devonthink-item" :follow org-devonthink-item-open)
                       ("mac-evernote" :follow org-mac-evernote-note-open)
                       ("mac-outlook" :follow org-mac-outlook-message-open)
                       ("acrobat" :follow org-mac-acrobat-open)
                       ("skim" :follow org-mac-skim-open)
                       ("addressbook" :follow org-mac-addressbook-item-open)
                       ("x-together-item" :follow org-mac-together-item-open)
                       ("id" :follow org-id-open) ("file+sys") ("file+emacs")
                       ("shell" :follow org-link--open-shell)
                       ("news" :follow
                        #[514 "\301\300\302.Q.\"\207" ["news" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("mailto" :follow
                        #[514 "\301\300\302.Q.\"\207" ["mailto" browse-url ":"]
                          6 "\n\n(fn URL ARG)"]
                        )
                       ("https" :follow
                        #[514 "\301\300\302.Q.\"\207" ["https" browse-url ":"]
                          6 "\n\n(fn URL ARG)"]
                        )
                       ("http" :follow
                        #[514 "\301\300\302.Q.\"\207" ["http" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("ftp" :follow
                        #[514 "\301\300\302.Q.\"\207" ["ftp" browse-url ":"] 6
                          "\n\n(fn URL ARG)"]
                        )
                       ("help" :follow org-link--open-help :store
                        org-link--store-help)
                       ("file" :complete org-link-complete-file)
                       ("elisp" :follow org-link--open-elisp))
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-roam-capture-templates '(("d" "default" plain "%?" :if-new
                               (file+head "${title}.org" "#+title: ${title}\n")
                               :unnarrowed t)
                              )
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-agenda-skip-additional-timestamps-same-entry t
 org-refile-allow-creating-parent-nodes 'confirm
 org-blank-before-new-entry '((heading . t) (plain-list-item))
 org-agenda-file-regexp "\\`[^.].*\\.org\\(\\.gpg\\)?\\'"
 org-download-link-format-function 'org-download-link-format-function-default
 org-return-follows-link t
 org-outline-path-complete-in-steps nil
 org-special-ctrl-a/e t
 org-tags-column 0
 org-src-lang-modes '(("redis" . redis) ("php" . php) ("arduino" . arduino)
                      ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh)
                      ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++)
                      ("ditaa" . artist) ("dot" . fundamental)
                      ("elisp" . emacs-lisp) ("ocaml" . tuareg)
                      ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql))
 org-tab-before-tab-emulation-hook '(org-tempo-complete-tag)
 org-journal-hide-entries-p nil
 org-refile-target-verify-function 'aj/verify-refile-target
 org-mac-grab-Firefox-app-p nil
 org-journal-file-format "%Y%m%d-journal"
 org-agenda-show-outline-path nil
 )


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-30 15:17 [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)] Aaron Jensen
@ 2021-10-30 15:39 ` Ihor Radchenko
  2021-10-30 16:45   ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-10-30 15:39 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> I don't have a consistent repro, but I am seeing this error often. At
> different times it is in different files and lists different nodes.

Thanks for reporting!

> 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: 20211025-journal
>  Current command: nil Disable showing Disable logging

Do you always see "Current command: nil"? If you do, do you have any
minor modes that change text in Org buffers?

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-30 15:39 ` Ihor Radchenko
@ 2021-10-30 16:45   ` Aaron Jensen
  2021-10-31  2:07     ` Aaron Jensen
  2021-10-31  2:48     ` Ihor Radchenko
  0 siblings, 2 replies; 25+ messages in thread
From: Aaron Jensen @ 2021-10-30 16:45 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Sat, Oct 30, 2021 at 11:37 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> > I don't have a consistent repro, but I am seeing this error often. At
> > different times it is in different files and lists different nodes.
>
> Thanks for reporting!
>
> > 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: 20211025-journal
> >  Current command: nil Disable showing Disable logging
>
> Do you always see "Current command: nil"? If you do, do you have any
> minor modes that change text in Org buffers?

I don't know, but I'll keep an eye out for the next time it happens.
As for minor modes, yes:

https://github.com/awth13/org-appear
https://github.com/integral-dw/org-superstar-mode

And prettify-symbols-mode:

  (push '("[ ]" . "☐") prettify-symbols-alist)
  (push '("[X]" . "☑") prettify-symbols-alist)
  (push '("[-]" . "❍") prettify-symbols-alist)
  (prettify-symbols-mode)

And this to change the behavior of org-indent:

(aj-defadvice aj--org-indent--compute-prefixes-hanging-bullets ()
      :override #'org-indent--compute-prefixes
      "Compute prefix strings with hanging header bullets."

      (setq org-indent--heading-line-prefixes
            (make-vector org-indent--deepest-level nil))
      (setq org-indent--inlinetask-line-prefixes
            (make-vector org-indent--deepest-level nil))
      (setq org-indent--text-line-prefixes
            (make-vector org-indent--deepest-level nil))

      (let* ((indent 2))

        (dotimes (n org-indent--deepest-level)
          (aset org-indent--heading-line-prefixes n
                (make-string (- indent 2) ?\s))
          (aset org-indent--inlinetask-line-prefixes n
                (make-string indent ?\s))
          (aset org-indent--text-line-prefixes n
                (make-string indent ?\s)))))

I think that's it (and yes, that's a lot, heh).

Thanks,

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-30 16:45   ` Aaron Jensen
@ 2021-10-31  2:07     ` Aaron Jensen
  2021-10-31  2:55       ` Ihor Radchenko
  2021-10-31  2:48     ` Ihor Radchenko
  1 sibling, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-10-31  2:07 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Sat, Oct 30, 2021 at 12:45 PM Aaron Jensen <aaronjensen@gmail.com> wrote:
>
> On Sat, Oct 30, 2021 at 11:37 AM Ihor Radchenko <yantar92@gmail.com> wrote:
> >
> > Aaron Jensen <aaronjensen@gmail.com> writes:
> >
> > > I don't have a consistent repro, but I am seeing this error often. At
> > > different times it is in different files and lists different nodes.
> >
> > Thanks for reporting!
> >
> > > 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: 20211025-journal
> > >  Current command: nil Disable showing Disable logging
> >
> > Do you always see "Current command: nil"? If you do, do you have any
> > minor modes that change text in Org buffers?

I just got this warning:

Warning (emacs): org-element--cache: Added org-data parent to
non-headline element: (item (:bullet "- " :begin 1935 :end 1982
:contents-begin 1937 :contents-end 1982 :checkbox nil :counter nil
:structure ((1935 0 "- " nil nil nil 1982) (1982 0 "- " nil nil nil
2032)) :pre-blank 0 :post-blank 0 :post-affiliated 1935 :tag nil :mode
item :granularity element :cached t :parent (plain-list (:type
unordered :begin 1935 :end 2032 :contents-begin 1935 :contents-end
2032 :structure ((1935 0 "- " nil nil nil 1982) (1982 0 "- " nil nil
nil 2032)) :post-blank 0 :post-affiliated 1935 :mode planning
:granularity element :cached nil :parent (section (:begin 1935 :end
2032 :contents-begin 1935 :contents-end 2032 :robust-begin 1935
:robust-end 2030 :post-blank 0 :post-affiliated 1935 :mode section
:granularity element :cached nil :parent (headline (:raw-value
"[2021-10-15 Fri]" :begin 1915 :end 2032 :pre-blank 1 :contents-begin
1935 :contents-end 2032 :robust-begin 1937 :robust-end 2030 :level 1
:priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1915 :title "[2021-10-15 Fri]" :mode nil :granularity
headline :cached nil :parent (org-data (:begin 1 :contents-begin 1
:contents-end 2030 :end 2030 :robust-begin 67 :robust-end 2028
:post-blank 0 :post-affiliated 1 :path "xxxx" :mode org-data :ID
"09182EC8-8E37-4ABA-8E20-768D9A4CD34B" :CATEGORY "xxxx" :granularity
headline) nil) :org-element--cache-sync-key (4 . 1913)))
:org-element--cache-sync-key (4 . 1932))) :org-element--cache-sync-key
(4 . 1933))) :org-element--cache-sync-key (4 . 1934)))

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-30 16:45   ` Aaron Jensen
  2021-10-31  2:07     ` Aaron Jensen
@ 2021-10-31  2:48     ` Ihor Radchenko
  2021-10-31  3:16       ` Aaron Jensen
  1 sibling, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-10-31  2:48 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

>> Do you always see "Current command: nil"? If you do, do you have any
>> minor modes that change text in Org buffers?
>
> I don't know, but I'll keep an eye out for the next time it happens.

If possible, can you also upgrade to latest main? I just pushed a patch
providing additional backtrace to the warning. Hopefully, it can reveal
more details.

> And this to change the behavior of org-indent:
>
> (aj-defadvice aj--org-indent--compute-prefixes-hanging-bullets ()
>       :override #'org-indent--compute-prefixes
>       "Compute prefix strings with hanging header bullets."
> ...

The was a problem related to org-indent recently [1]. If your Org is
older than b135b8c7, there is a small chance that the warning might be
fixed after update.

[1] https://list.orgmode.org/878ryev6q2.fsf@localhost/T/#t

> As for minor modes, yes:
>
> https://github.com/awth13/org-appear
> ...
> And prettify-symbols-mode:

I also use org-appear and prettify-symbols-mode. Hopefully not an issue.

> https://github.com/integral-dw/org-superstar-mode

Not sure here. It would be helpful if you try to disable
org-superstar-mode and see if it helps, 

> I think that's it (and yes, that's a lot, heh).

That's not a lot ;)

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-31  2:07     ` Aaron Jensen
@ 2021-10-31  2:55       ` Ihor Radchenko
  0 siblings, 0 replies; 25+ messages in thread
From: Ihor Radchenko @ 2021-10-31  2:55 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> I just got this warning:
>
> Warning (emacs): org-element--cache: Added org-data parent to
> non-headline element

This is a bad one. I was really hoping that I fixed it. Can you set
org-element--cache-self-verify to 'backtrace before loading Emacs and
post the full backtrace if you see this warning again?

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-31  2:48     ` Ihor Radchenko
@ 2021-10-31  3:16       ` Aaron Jensen
  2021-11-01  0:38         ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-10-31  3:16 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Sat, Oct 30, 2021 at 10:46 PM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> >> Do you always see "Current command: nil"? If you do, do you have any
> >> minor modes that change text in Org buffers?
> >
> > I don't know, but I'll keep an eye out for the next time it happens.
>
> If possible, can you also upgrade to latest main? I just pushed a patch
> providing additional backtrace to the warning. Hopefully, it can reveal
> more details.

Will do

> > And this to change the behavior of org-indent:
> >
> > (aj-defadvice aj--org-indent--compute-prefixes-hanging-bullets ()
> >       :override #'org-indent--compute-prefixes
> >       "Compute prefix strings with hanging header bullets."
> > ...
>
> The was a problem related to org-indent recently [1]. If your Org is
> older than b135b8c7, there is a small chance that the warning might be
> fixed after update.
>
> [1] https://list.orgmode.org/878ryev6q2.fsf@localhost/T/#t

It wasn't when I just checked, but I updated packages today so it's
possible that I was behind on this. I'll let you know if I see it
again. The second error I reported was on the latest main.

> > As for minor modes, yes:
> >
> > https://github.com/awth13/org-appear
> > ...
> > And prettify-symbols-mode:
>
> I also use org-appear and prettify-symbols-mode. Hopefully not an issue.
>
> > https://github.com/integral-dw/org-superstar-mode
>
> Not sure here. It would be helpful if you try to disable
> org-superstar-mode and see if it helps,

I'll leave it on for a bit longer to see what still repros. If it
happens again, I'll try disabling it.

> > Warning (emacs): org-element--cache: Added org-data parent to
> > non-headline element
>
> This is a bad one. I was really hoping that I fixed it. Can you set
> org-element--cache-self-verify to 'backtrace before loading Emacs and
> post the full backtrace if you see this warning again?

Done, I'll report back.

Thanks,

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-10-31  3:16       ` Aaron Jensen
@ 2021-11-01  0:38         ` Aaron Jensen
  2021-11-01 12:50           ` Ihor Radchenko
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-01  0:38 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Sat, Oct 30, 2021 at 11:16 PM Aaron Jensen <aaronjensen@gmail.com> wrote:
>
> Done, I'll report back.

Another one, no trace:

Warning (emacs): Emacs reader failed to read data for #<buffer
config.org>:org-element--cache. The error was: "Invalid read syntax:
\"#\", 1, 4670" Disable showing Disable logging


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-01  0:38         ` Aaron Jensen
@ 2021-11-01 12:50           ` Ihor Radchenko
  2021-11-02 23:19             ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-01 12:50 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> On Sat, Oct 30, 2021 at 11:16 PM Aaron Jensen <aaronjensen@gmail.com> wrote:
>>
>> Done, I'll report back.
>
> Another one, no trace:
>
> Warning (emacs): Emacs reader failed to read data for #<buffer
> config.org>:org-element--cache. The error was: "Invalid read syntax:
> \"#\", 1, 4670" Disable showing Disable logging

Thanks! I have seen this one. Now can confirm that it is not just on my
system. This warning indicates a likely bug in Emacs read/write. I
disabled this warning on latest main to not irritate users.

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-01 12:50           ` Ihor Radchenko
@ 2021-11-02 23:19             ` Aaron Jensen
  2021-11-02 23:32               ` Aaron Jensen
  2021-11-03 11:45               ` Ihor Radchenko
  0 siblings, 2 replies; 25+ messages in thread
From: Aaron Jensen @ 2021-11-02 23:19 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Mon, Nov 1, 2021 at 8:48 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> > On Sat, Oct 30, 2021 at 11:16 PM Aaron Jensen <aaronjensen@gmail.com> wrote:
> >>
> >> Done, I'll report back.
> >
> > Another one, no trace:
> >
> > Warning (emacs): Emacs reader failed to read data for #<buffer
> > config.org>:org-element--cache. The error was: "Invalid read syntax:
> > \"#\", 1, 4670" Disable showing Disable logging
>
> Thanks! I have seen this one. Now can confirm that it is not just on my
> system. This warning indicates a likely bug in Emacs read/write. I
> disabled this warning on latest main to not irritate users.
>
> Best,
> Ihor

Here is a backtrace. The package it mentions is my own:
https://github.com/aaronjensen/emacs-orgonomic and
https://github.com/Somelauw/evil-org-mode is mentioned too.

Warning (emacs): org-element--cache: Warning(20211101-journal):
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: 20211101-journal
 Current command: nil
 Backtrace:
"  backtrace-to-string(nil)
  org-element--cache-sync(#<buffer 20211101-journal>)
  apply(org-element--cache-sync #<buffer 20211101-journal>)
  timer-event-handler([t 0 0 599999 nil org-element--cache-sync
(#<buffer 20211101-journal>) idle 999999 nil])
"
Backtrace:
  org-element-cache diagnostics(20211101-journal): Nothing to remove.
No elements in cache after 361. Terminating.
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 360 :end 360 :robust-begin 3
:robust-end 358 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (4 . -1)))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [360..361]𝝙-1
  org-element-cache diagnostics(20211101-journal): save-buffer is
about to modify text: warning nil
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal): save-buffer is
about to modify text: warning nil
  org-element-cache diagnostics(20211101-journal): Nothing to remove.
No elements in cache after 364. Terminating.
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 360 :end 361 :robust-begin 3
:robust-end 358 :post-blank 1 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (4 . -1)))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [361..364]𝝙-3
  org-element-cache diagnostics(20211101-journal): evil-org-delete is
about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal): evil-org-delete is
about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): Nothing to remove.
No elements in cache after 365. Terminating.
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 364 :end 364 :robust-begin 3
:robust-end 362 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (4 . -1)))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [364..365]𝝙-1
  org-element-cache diagnostics(20211101-journal):
orgonomic-delete-backward-char is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal):
orgonomic-delete-backward-char is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): Nothing to remove.
No elements in cache after 366. Terminating.
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 365 :end 365 :robust-begin 3
:robust-end 363 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (4 . -1)))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [365..366]𝝙-1
  org-element-cache diagnostics(20211101-journal):
orgonomic-delete-backward-char is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal):
orgonomic-delete-backward-char is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): Nothing to remove.
No elements in cache after 365. Terminating.
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 366 :end 366 :robust-begin 3
:robust-end 364 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (4 . -1)))"
  org-element-cache diagnostics(20211101-journal): org-element-cache:
Finished process. The cache size is 1. The remaining sync requests:
"([1 1 364 1 ... 0])"
  org-element-cache diagnostics(20211101-journal): Phase 0 deleted all
elements in cache after 1!
  org-element-cache diagnostics(20211101-journal): removing (4 .
361)::"(headline (:raw-value \"\" :begin 361 :end 364 :pre-blank 0
:contents-begin nil :contents-end nil :robust-begin nil :robust-end
nil :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 361 :title \"\" :mode nil :granularity element
:cached t :parent (headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1
:end 364 :pre-blank 0 :contents-begin 19 :contents-end 364
:robust-begin 57 :robust-end 362 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title \"Mon, 1 Nov 2021\" :mode first-section
:granularity element :cached nil :parent (org-data ...)
:org-element--cache-sync-key (4 . 1))) :org-element--cache-sync-key (4
. 361)))"
  org-element-cache diagnostics(20211101-journal): removing (4 .
59)::"(headline (:raw-value \"xxx\" :begin 59 :end 361 :pre-blank 1
:contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end 358
:level 2 :priority nil :tags (#(\"neuron\" 0 6 (fontified nil)))
:todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 59 :title \"xxx\"
:mode nil :granularity element :cached t :parent (headline (:raw-value
\"Mon, 1 Nov 2021\" :begin 1 :end 364 :pre-blank 0 :contents-begin 19
:contents-end 364 :robust-begin 57 :robust-end 362 :level 1 :priority
nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1 :CREATED \"20211101\" :title \"Mon, 1 Nov 2021\"
:mode first-section :granularity element :cached nil :parent (org-data
...) :org-element--cache-sync-key (4 . 1)))
:org-element--cache-sync-key (4 . 59)))"
  org-element-cache diagnostics(20211101-journal): removing (4 .
18)::"(section (:begin 19 :end 59 :contents-begin 19 :contents-end 58
:robust-begin 19 :robust-end 56 :post-blank 1 :post-affiliated 19
:mode section :granularity element :cached t :parent (headline
(:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 364 :pre-blank 0
:contents-begin 19 :contents-end 364 :robust-begin 57 :robust-end 362
:level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1 :CREATED \"20211101\" :title \"Mon, 1 Nov 2021\"
:mode first-section :granularity element :cached nil :parent (org-data
...) :org-element--cache-sync-key (4 . 1)))
:org-element--cache-sync-key (4 . 18)))"
  org-element-cache diagnostics(20211101-journal): removing (4 .
1)::"(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 364
:pre-blank 0 :contents-begin 19 :contents-end 364 :robust-begin 57
:robust-end 362 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title \"Mon,
1 Nov 2021\" :mode first-section :granularity element :cached t
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 365 :end
365 :robust-begin 3 :robust-end 363 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t :org-element--cache-sync-key (0 . -1)))
:org-element--cache-sync-key (4 . 1)))"
  org-element-cache diagnostics(20211101-journal): Phase 0
  org-element-cache diagnostics(20211101-journal): org-element-cache:
Processing request [1 1 364 1 (headline (:raw-value "Mon, 1 Nov 2021"
:begin 1 :end 364 :pre-blank 0 :contents-begin 19 ...)) 0] up to
365-365, next: nil
  org-element-cache diagnostics(20211101-journal): Syncing down to 365-365
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [365..365]𝝙1
  org-element-cache diagnostics(20211101-journal):
org-self-insert-command is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal):
org-self-insert-command is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): Extending to all
elements between:
 1: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 364
:pre-blank 0 :contents-begin 19 :contents-end 364 :robust-begin 57
:robust-end 362 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title \"Mon,
1 Nov 2021\" :mode first-section :granularity element :cached t
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 365 :end
365 :robust-begin 3 :robust-end 363 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t :org-element--cache-sync-key (0 . -1)))
:org-element--cache-sync-key (2 . 1)))"
 2: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 364
:pre-blank 0 :contents-begin 19 :contents-end 364 :robust-begin 57
:robust-end 362 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title \"Mon,
1 Nov 2021\" :mode first-section :granularity element :cached t
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 365 :end
365 :robust-begin 3 :robust-end 363 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t :org-element--cache-sync-key (0 . -1)))
:org-element--cache-sync-key (2 . 1)))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 365 :end 365 :robust-begin 3
:robust-end 363 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (0 . -1)))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 364
:pre-blank 0 :contents-begin 19 :contents-end 364 :robust-begin 57
:robust-end 362 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title \"Mon,
1 Nov 2021\" :mode first-section :granularity element :cached t
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 364 :end
364 :robust-begin 3 :robust-end 362 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t :org-element--cache-sync-key (0 . -1)))
:org-element--cache-sync-key (2 . 1)))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(headline (:raw-value \"\" :begin 361 :end 364 :pre-blank 0
:contents-begin nil :contents-end nil :robust-begin nil :robust-end
nil :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 361 :title \"\" :mode nil :granularity element
:cached t :parent (headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1
:end 364 :pre-blank 0 :contents-begin 19 :contents-end 364
:robust-begin 57 :robust-end 362 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title \"Mon, 1 Nov 2021\" :mode first-section
:granularity element :cached t :parent (org-data ...)
:org-element--cache-sync-key (2 . 1)))))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [364..364]𝝙1
  org-element-cache diagnostics(20211101-journal):
org-self-insert-command is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal):
org-self-insert-command is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): Added new element
with nil key: "(headline (:raw-value \"\" :begin 361 :end 364
:pre-blank 0 :contents-begin nil :contents-end nil :robust-begin nil
:robust-end nil :level 2 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 361 :title \"\" :mode nil
:granularity element))"
  org-element-cache diagnostics(20211101-journal): Added new element
with nil key: "(headline (:raw-value \"xxx\" :begin 59 :end 361
:pre-blank 1 :contents-begin 79 :contents-end 360 :robust-begin 81
:robust-end 358 :level 2 :priority nil :tags (#(\"neuron\" 0 6
(fontified nil))) :todo-keyword nil :todo-type nil :post-blank 1
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 59 :title \"xxx\" :mode nil :granularity element))"
  org-element-cache diagnostics(20211101-journal): org-element-cache:
Finished process. The cache size is 3. The remaining sync requests:
"([59 59 363 1 ... 0])"
  org-element-cache diagnostics(20211101-journal): Phase 0 deleted all
elements in cache after 59!
  org-element-cache diagnostics(20211101-journal): removing (2 .
360)::"(headline (:raw-value \"\" :begin 360 :end 363 :pre-blank 0
:contents-begin nil :contents-end nil :robust-begin nil :robust-end
nil :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 360 :title \"\" :mode nil :granularity element
:cached t :parent (headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1
:end 364 :pre-blank 0 :contents-begin 19 :contents-end 364
:robust-begin 57 :robust-end 362 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title \"Mon, 1 Nov 2021\" :mode first-section
:granularity element :cached t :parent (org-data ...)
:org-element--cache-sync-key (2 . 1))) :org-element--cache-sync-key (2
. 360)))"
  org-element-cache diagnostics(20211101-journal): removing (2 .
59)::"(headline (:raw-value \"xxx\" :begin 59 :end 360 :pre-blank 1
:contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end 358
:level 2 :priority nil :tags (#(\"neuron\" 0 6 (fontified nil)))
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 59 :title \"xxx\"
:mode nil :granularity element :cached t :parent (headline (:raw-value
\"Mon, 1 Nov 2021\" :begin 1 :end 364 :pre-blank 0 :contents-begin 19
:contents-end 364 :robust-begin 57 :robust-end 362 :level 1 :priority
nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1 :CREATED \"20211101\" :title \"Mon, 1 Nov 2021\"
:mode first-section :granularity element :cached t :parent (org-data
...) :org-element--cache-sync-key (2 . 1)))
:org-element--cache-sync-key (2 . 59)))"
  org-element-cache diagnostics(20211101-journal): Phase 0
  org-element-cache diagnostics(20211101-journal): org-element-cache:
Processing request [59 59 363 1 (headline (:raw-value "Mon, 1 Nov
2021" :begin 1 :end 364 :pre-blank 0 :contents-begin 19 ...)) 0] up to
nil-nil, next: nil
  org-element-cache diagnostics(20211101-journal): Syncing down to nil-nil
  org-element-cache diagnostics(20211101-journal): Extending to all
elements between:
 1: "(headline (:raw-value \"xxx\" :begin 59 :end 360 :pre-blank 1
:contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end 358
:level 2 :priority nil :tags (#(\"neuron\" 0 6 (fontified nil)))
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 59 :title \"xxx\"
:mode nil :granularity element :cached t :parent (headline (:raw-value
\"Mon, 1 Nov 2021\" :begin 1 :end 364 :pre-blank 0 :contents-begin 19
:contents-end 364 :robust-begin 57 :robust-end 362 :level 1 :priority
nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1 :CREATED \"20211101\" :title \"Mon, 1 Nov 2021\"
:mode first-section :granularity element :cached t :parent (org-data
...)))))"
 2: "(headline (:raw-value \"\" :begin 360 :end 363 :pre-blank 0
:contents-begin nil :contents-end nil :robust-begin nil :robust-end
nil :level 2 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 360 :title \"\" :mode nil :granularity element
:cached t :parent (headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1
:end 364 :pre-blank 0 :contents-begin 19 :contents-end 364
:robust-begin 57 :robust-end 362 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title \"Mon, 1 Nov 2021\" :mode first-section
:granularity element :cached t :parent (org-data ...)))))"
  org-element-cache diagnostics(20211101-journal): Shifting end
positions of robust parent: "(org-data (:begin 1 :contents-begin 1
:contents-end 364 :end 364 :robust-begin 3 :robust-end 362 :post-blank
0 :post-affiliated 1 :path \"/path\" :mode org-data :CATEGORY
\"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (0 . -1)))"
  org-element-cache diagnostics(20211101-journal): Shifting end
positions of robust parent: "(headline (:raw-value \"Mon, 1 Nov 2021\"
:begin 1 :end 364 :pre-blank 0 :contents-begin 19 :contents-end 364
:robust-begin 57 :robust-end 362 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title \"Mon, 1 Nov 2021\" :mode first-section
:granularity element :cached t :parent (org-data (:begin 1
:contents-begin 1 :contents-end 363 :end 363 :robust-begin 3
:robust-end 361 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t
:org-element--cache-sync-key (0 . -1)))))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(headline (:raw-value \"xxx\" :begin 59 :end 360 :pre-blank
1 :contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end
358 :level 2 :priority nil :tags (#(\"neuron\" 0 6 (fontified nil)))
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 59 :title \"xxx\"
:mode nil :granularity element :cached t :parent (headline (:raw-value
\"Mon, 1 Nov 2021\" :begin 1 :end 363 :pre-blank 0 :contents-begin 19
:contents-end 363 :robust-begin 57 :robust-end 361 :level 1 :priority
nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1 :CREATED \"20211101\" :title \"Mon, 1 Nov 2021\"
:mode first-section :granularity element :cached t :parent (org-data
...)))))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [360..360]𝝙1
  org-element-cache diagnostics(20211101-journal):
org-journal-new-entry is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal):
org-journal-new-entry is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): Added new element
with nil key: "(headline (:raw-value \"\" :begin 360 :end 363
:pre-blank 0 :contents-begin nil :contents-end nil :robust-begin nil
:robust-end nil :level 2 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 360 :title \"\" :mode nil
:granularity element))"
  org-element-cache diagnostics(20211101-journal): Added new element
with nil key: "(headline (:raw-value \"xxx\" :begin 59 :end 360
:pre-blank 1 :contents-begin 79 :contents-end 360 :robust-begin 81
:robust-end 358 :level 2 :priority nil :tags (#(\"neuron\" 0 6
(fontified nil))) :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 59 :title \"xxx\" :mode nil :granularity element))"
  org-element-cache diagnostics(20211101-journal): Added new element
with nil key: "(section (:begin 19 :end 59 :contents-begin 19
:contents-end 58 :robust-begin 19 :robust-end 56 :post-blank 1
:post-affiliated 19 :mode section :granularity element))"
  org-element-cache diagnostics(20211101-journal): Added new element
with nil key: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end
363 :pre-blank 0 :contents-begin 19 :contents-end 363 :robust-begin 57
:robust-end 361 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title \"Mon,
1 Nov 2021\" :mode first-section :granularity element))"
  org-element-cache diagnostics(20211101-journal): org-element-cache:
Finished process. The cache size is 1. The remaining sync requests:
"([1 1 360 3 ... 0])"
  org-element-cache diagnostics(20211101-journal): Phase 0 deleted all
elements in cache after 1!
  org-element-cache diagnostics(20211101-journal): removing (0 .
284)::"(paragraph (:begin 284 :end 360 :contents-begin 284
:contents-end 360 :post-blank 0 :post-affiliated 284 :mode nil
:granularity element :cached t :parent (item (:bullet \"- \" :begin
280 :end 360 :contents-begin 284 :contents-end 360 :checkbox nil
:counter nil :structure (... ... ... ...) :pre-blank 0 :post-blank 0
:post-affiliated 280 :tag nil :mode item :granularity element :cached
nil :parent (plain-list ...) :org-element--cache-sync-key (0 . 281)))
:org-element--cache-sync-key (0 . 284)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
281)::"(item (:bullet \"- \" :begin 280 :end 360 :contents-begin 284
:contents-end 360 :checkbox nil :counter nil :structure ((79 0 \"- \"
nil nil nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil
nil 280) (280 2 \"- \" nil nil nil 360)) :pre-blank 0 :post-blank 0
:post-affiliated 280 :tag nil :mode item :granularity element :cached
t :parent (plain-list (:type unordered :begin 135 :end 360
:contents-begin 135 :contents-end 360 :structure (... ... ... ...)
:post-blank 0 :post-affiliated 135 :mode nil :granularity element
:cached nil :parent (item ...) :org-element--cache-sync-key (0 .
135))) :org-element--cache-sync-key (0 . 281)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
189)::"(item (:bullet \"- \" :begin 188 :end 280 :contents-begin 192
:contents-end 280 :checkbox nil :counter nil :structure ((79 0 \"- \"
nil nil nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil
nil 280) (280 2 \"- \" nil nil nil 360)) :pre-blank 0 :post-blank 0
:post-affiliated 188 :tag nil :mode item :granularity element :cached
t :parent (plain-list (:type unordered :begin 135 :end 360
:contents-begin 135 :contents-end 360 :structure (... ... ... ...)
:post-blank 0 :post-affiliated 135 :mode nil :granularity element
:cached nil :parent (item ...) :org-element--cache-sync-key (0 .
135))) :org-element--cache-sync-key (0 . 189)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
136)::"(item (:bullet \"- \" :begin 135 :end 188 :contents-begin 139
:contents-end 188 :checkbox nil :counter nil :structure ((79 0 \"- \"
nil nil nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil
nil 280) (280 2 \"- \" nil nil nil 360)) :pre-blank 0 :post-blank 0
:post-affiliated 135 :tag nil :mode item :granularity element :cached
t :parent (plain-list (:type unordered :begin 135 :end 360
:contents-begin 135 :contents-end 360 :structure (... ... ... ...)
:post-blank 0 :post-affiliated 135 :mode nil :granularity element
:cached nil :parent (item ...) :org-element--cache-sync-key (0 .
135))) :org-element--cache-sync-key (0 . 136)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
135)::"(plain-list (:type unordered :begin 135 :end 360
:contents-begin 135 :contents-end 360 :structure ((79 0 \"- \" nil nil
nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil nil 280)
(280 2 \"- \" nil nil nil 360)) :post-blank 0 :post-affiliated 135
:mode nil :granularity element :cached t :parent (item (:bullet \"- \"
:begin 79 :end 360 :contents-begin 81 :contents-end 360 :checkbox nil
:counter nil :structure (... ... ... ...) :pre-blank 0 :post-blank 0
:post-affiliated 79 :tag nil :mode item :granularity element :cached
nil :parent (plain-list ...) :org-element--cache-sync-key (0 . 80)))
:org-element--cache-sync-key (0 . 135)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
81)::"(paragraph (:begin 81 :end 135 :contents-begin 81 :contents-end
135 :post-blank 0 :post-affiliated 81 :mode nil :granularity element
:cached t :parent (item (:bullet \"- \" :begin 79 :end 360
:contents-begin 81 :contents-end 360 :checkbox nil :counter nil
:structure (... ... ... ...) :pre-blank 0 :post-blank 0
:post-affiliated 79 :tag nil :mode item :granularity element :cached
nil :parent (plain-list ...) :org-element--cache-sync-key (0 . 80)))
:org-element--cache-sync-key (0 . 81)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
80)::"(item (:bullet \"- \" :begin 79 :end 360 :contents-begin 81
:contents-end 360 :checkbox nil :counter nil :structure ((79 0 \"- \"
nil nil nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil
nil 280) (280 2 \"- \" nil nil nil 360)) :pre-blank 0 :post-blank 0
:post-affiliated 79 :tag nil :mode item :granularity element :cached t
:parent (plain-list (:type unordered :begin 79 :end 360
:contents-begin 79 :contents-end 360 :structure (... ... ... ...)
:post-blank 0 :post-affiliated 79 :mode planning :granularity element
:cached nil :parent (section ...) :org-element--cache-sync-key (0 .
79))) :org-element--cache-sync-key (0 . 80)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
79)::"(plain-list (:type unordered :begin 79 :end 360 :contents-begin
79 :contents-end 360 :structure ((79 0 \"- \" nil nil nil 360) (135 2
\"- \" nil nil nil 188) (188 2 \"- \" nil nil nil 280) (280 2 \"- \"
nil nil nil 360)) :post-blank 0 :post-affiliated 79 :mode planning
:granularity element :cached t :parent (section (:begin 79 :end 360
:contents-begin 79 :contents-end 360 :robust-begin 79 :robust-end 358
:post-blank 0 :post-affiliated 79 :mode section :granularity element
:cached nil :parent (headline ...) :org-element--cache-sync-key (0 .
78))) :org-element--cache-sync-key (0 . 79)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
78)::"(section (:begin 79 :end 360 :contents-begin 79 :contents-end
360 :robust-begin 79 :robust-end 358 :post-blank 0 :post-affiliated 79
:mode section :granularity element :cached t :parent (headline
(:raw-value \"xxx\" :begin 59 :end 360 :pre-blank 1 :contents-begin 79
:contents-end 360 :robust-begin 81 :robust-end 358 :level 2 :priority
nil :tags (#(\"neuron\" 0 6 ...)) :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 59 :title (#(\"xxx\" 0 6 ...)) :mode nil :granularity
nil :parent (headline ...) :cached nil :org-element--cache-sync-key (0
. 59))) :org-element--cache-sync-key (0 . 78)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
59)::"(headline (:raw-value \"xxx\" :begin 59 :end 360 :pre-blank 1
:contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end 358
:level 2 :priority nil :tags (#(\"neuron\" 0 6 (wrap-prefix #(\"** \"
0 3 ...) line-prefix \"\" keymap ... mouse-face highlight face ...
fontified t))) :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 59 :title (#(\"xxx\" 0 6 (:parent ...))) :mode nil
:granularity nil :parent (headline (:raw-value \"Mon, 1 Nov 2021\"
:begin 1 :end 360 :pre-blank 0 :contents-begin 19 :contents-end 360
:robust-begin 57 :robust-end 358 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title (#(\"Mon, 1 Nov 2021\" 0 15 ...)) :mode nil
:granularity nil :parent (org-data ...) :cached nil
:org-element--cache-sync-key (0 . 1))) :cached t
:org-element--cache-sync-key (0 . 59)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
18)::"(section (:begin 19 :end 59 :contents-begin 19 :contents-end 58
:robust-begin 19 :robust-end 56 :post-blank 1 :post-affiliated 19
:mode section :granularity element :cached t :parent (headline
(:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 360 :pre-blank 0
:contents-begin 19 :contents-end 360 :robust-begin 57 :robust-end 358
:level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil
:post-blank 0 :footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 1 :CREATED \"20211101\" :title (#(\"Mon, 1 Nov 2021\"
0 15 ...)) :mode nil :granularity nil :parent (org-data ...) :cached
nil :org-element--cache-sync-key (0 . 1)))
:org-element--cache-sync-key (0 . 18)))"
  org-element-cache diagnostics(20211101-journal): removing (0 .
1)::"(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 360
:pre-blank 0 :contents-begin 19 :contents-end 360 :robust-begin 57
:robust-end 358 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title
(#(\"Mon, 1 Nov 2021\" 0 15 (:parent ...))) :mode nil :granularity nil
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 363 :end
363 :robust-begin 3 :robust-end 361 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t)) :cached t :org-element--cache-sync-key (0 . 1)))"
  org-element-cache diagnostics(20211101-journal): Phase 0
  org-element-cache diagnostics(20211101-journal): org-element-cache:
Processing request [1 1 360 3 (headline (:raw-value "Mon, 1 Nov 2021"
:begin 1 :end 360 :pre-blank 0 :contents-begin 19 ...)) 0] up to
nil-#<marker at 363 in 20211101-journal>, next: nil
  org-element-cache diagnostics(20211101-journal): Syncing down to
#<marker at 363 in 20211101-journal>-#<marker at 363 in
20211101-journal>
  org-element-cache diagnostics(20211101-journal): Extending to all
elements between:
 1: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 360
:pre-blank 0 :contents-begin 19 :contents-end 360 :robust-begin 57
:robust-end 358 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title
(#(\"Mon, 1 Nov 2021\" 0 15 (:parent ...))) :mode nil :granularity nil
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 363 :end
363 :robust-begin 3 :robust-end 361 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t)) :cached t :org-element--cache-sync-key nil))"
 2: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 360
:pre-blank 0 :contents-begin 19 :contents-end 360 :robust-begin 57
:robust-end 358 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title
(#(\"Mon, 1 Nov 2021\" 0 15 (:parent ...))) :mode nil :granularity nil
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 363 :end
363 :robust-begin 3 :robust-end 361 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t)) :cached t :org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
change invalidating org-data. Re-parsing: "(org-data (:begin 1
:contents-begin 1 :contents-end 363 :end 363 :robust-begin 3
:robust-end 361 :post-blank 0 :post-affiliated 1 :path \"/path\" :mode
org-data :CATEGORY \"20211101-journal\" :parent nil :cached t))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(headline (:raw-value \"Mon, 1 Nov 2021\" :begin 1 :end 360
:pre-blank 0 :contents-begin 19 :contents-end 360 :robust-begin 57
:robust-end 358 :level 1 :priority nil :tags nil :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 1 :CREATED \"20211101\" :title
(#(\"Mon, 1 Nov 2021\" 0 15 (:parent ...))) :mode nil :granularity nil
:parent (org-data (:begin 1 :contents-begin 1 :contents-end 360 :end
360 :robust-begin 3 :robust-end 358 :post-blank 0 :post-affiliated 1
:path \"/path\" :mode org-data :CATEGORY \"20211101-journal\" :parent
nil :cached t :org-element--cache-sync-key nil)) :cached t
:org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(headline (:raw-value \"xxx\" :begin 59 :end 360 :pre-blank
1 :contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end
358 :level 2 :priority nil :tags (#(\"neuron\" 0 6 (wrap-prefix #(\"**
\" 0 3 ...) line-prefix \"\" keymap ... mouse-face highlight face ...
fontified t))) :todo-keyword nil :todo-type nil :post-blank 0
:footnote-section-p nil :archivedp nil :commentedp nil
:post-affiliated 59 :title (#(\"xxx\" 0 6 (:parent ...))) :mode nil
:granularity nil :parent (headline (:raw-value \"Mon, 1 Nov 2021\"
:begin 1 :end 360 :pre-blank 0 :contents-begin 19 :contents-end 360
:robust-begin 57 :robust-end 358 :level 1 :priority nil :tags nil
:todo-keyword nil :todo-type nil :post-blank 0 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 1 :CREATED
\"20211101\" :title (#(\"Mon, 1 Nov 2021\" 0 15 ...)) :mode nil
:granularity nil :parent (org-data ...) :cached t
:org-element--cache-sync-key nil)) :cached t
:org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(section (:begin 79 :end 360 :contents-begin 79
:contents-end 360 :robust-begin 79 :robust-end 358 :post-blank 0
:post-affiliated 79 :mode section :granularity element :cached t
:parent (headline (:raw-value \"xxx\" :begin 59 :end 360 :pre-blank 1
:contents-begin 79 :contents-end 360 :robust-begin 81 :robust-end 358
:level 2 :priority nil :tags (#(\"neuron\" 0 6 ...)) :todo-keyword nil
:todo-type nil :post-blank 0 :footnote-section-p nil :archivedp nil
:commentedp nil :post-affiliated 59 :title (#(\"xxx\" 0 6 ...)) :mode
nil :granularity nil :parent (headline ...) :cached t
:org-element--cache-sync-key nil)) :org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(plain-list (:type unordered :begin 79 :end 360
:contents-begin 79 :contents-end 360 :structure ((79 0 \"- \" nil nil
nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil nil 280)
(280 2 \"- \" nil nil nil 360)) :post-blank 0 :post-affiliated 79
:mode planning :granularity element :cached t :parent (section (:begin
79 :end 360 :contents-begin 79 :contents-end 360 :robust-begin 79
:robust-end 358 :post-blank 0 :post-affiliated 79 :mode section
:granularity element :cached t :parent (headline ...)
:org-element--cache-sync-key nil)) :org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(item (:bullet \"- \" :begin 79 :end 360 :contents-begin 81
:contents-end 360 :checkbox nil :counter nil :structure ((79 0 \"- \"
nil nil nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil
nil 280) (280 2 \"- \" nil nil nil 360)) :pre-blank 0 :post-blank 0
:post-affiliated 79 :tag nil :mode item :granularity element :cached t
:parent (plain-list (:type unordered :begin 79 :end 360
:contents-begin 79 :contents-end 360 :structure (... ... ... ...)
:post-blank 0 :post-affiliated 79 :mode planning :granularity element
:cached t :parent (section ...) :org-element--cache-sync-key nil))
:org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(plain-list (:type unordered :begin 135 :end 360
:contents-begin 135 :contents-end 360 :structure ((79 0 \"- \" nil nil
nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil nil nil 280)
(280 2 \"- \" nil nil nil 360)) :post-blank 0 :post-affiliated 135
:mode nil :granularity element :cached t :parent (item (:bullet \"- \"
:begin 79 :end 360 :contents-begin 81 :contents-end 360 :checkbox nil
:counter nil :structure (... ... ... ...) :pre-blank 0 :post-blank 0
:post-affiliated 79 :tag nil :mode item :granularity element :cached t
:parent (plain-list ...) :org-element--cache-sync-key nil))
:org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(item (:bullet \"- \" :begin 280 :end 360 :contents-begin
284 :contents-end 360 :checkbox nil :counter nil :structure ((79 0 \"-
\" nil nil nil 360) (135 2 \"- \" nil nil nil 188) (188 2 \"- \" nil
nil nil 280) (280 2 \"- \" nil nil nil 360)) :pre-blank 0 :post-blank
0 :post-affiliated 280 :tag nil :mode item :granularity element
:cached t :parent (plain-list (:type unordered :begin 135 :end 360
:contents-begin 135 :contents-end 360 :structure (... ... ... ...)
:post-blank 0 :post-affiliated 135 :mode nil :granularity element
:cached t :parent (item ...) :org-element--cache-sync-key nil))
:org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Found non-robust
element: "(paragraph (:begin 284 :end 360 :contents-begin 284
:contents-end 360 :post-blank 0 :post-affiliated 284 :mode nil
:granularity element :cached t :parent (item (:bullet \"- \" :begin
280 :end 360 :contents-begin 284 :contents-end 360 :checkbox nil
:counter nil :structure (... ... ... ...) :pre-blank 0 :post-blank 0
:post-affiliated 280 :tag nil :mode item :granularity element :cached
t :parent (plain-list ...) :org-element--cache-sync-key nil))
:org-element--cache-sync-key nil))"
  org-element-cache diagnostics(20211101-journal): Adding new phase 0 request
  org-element-cache diagnostics(20211101-journal): Submitting new
synchronization request for [360..360]𝝙3
  org-element-cache diagnostics(20211101-journal):
org-journal-new-entry is about to modify text: warning 2
  org-element-cache diagnostics(20211101-journal): After change
  org-element-cache diagnostics(20211101-journal):
org-journal-new-entry is about to modify text: warning nil Disable
showing Disable logging


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-02 23:19             ` Aaron Jensen
@ 2021-11-02 23:32               ` Aaron Jensen
  2021-11-03 11:40                 ` Ihor Radchenko
  2021-11-03 11:45               ` Ihor Radchenko
  1 sibling, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-02 23:32 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Here is another that just happened:
https://gist.github.com/aaronjensen/5294a64f243a306b58062113b9306bab

It's scrubbed of all string data, hopefully not over-scrubbed for you.

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-02 23:32               ` Aaron Jensen
@ 2021-11-03 11:40                 ` Ihor Radchenko
  0 siblings, 0 replies; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-03 11:40 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> Here is another that just happened:
> https://gist.github.com/aaronjensen/5294a64f243a306b58062113b9306bab
>
> It's scrubbed of all string data, hopefully not over-scrubbed for you.

Thanks! It was really helpful. The problem was org-roam calling
org-element-parse-buffer frequently. org-element-parse-buffer had a bug
causing element cache corruption. Sometimes, :parent property of cached
elements was set to uncached elements - something cache code does not
expect. Fixed on main now.

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-02 23:19             ` Aaron Jensen
  2021-11-02 23:32               ` Aaron Jensen
@ 2021-11-03 11:45               ` Ihor Radchenko
  2021-11-03 14:30                 ` Aaron Jensen
  1 sibling, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-03 11:45 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> Here is a backtrace. The package it mentions is my own:
> https://github.com/aaronjensen/emacs-orgonomic and
> https://github.com/Somelauw/evil-org-mode is mentioned too.

The mentions are ok. Backtrace should mention every command that
actually changes the buffer.

> Unregistered buffer modifications detected. Resetting.
> ...
>  Backtrace:
> "  backtrace-to-string(nil)
>   org-element--cache-sync(#<buffer 20211101-journal>)
>   apply(org-element--cache-sync #<buffer 20211101-journal>)
>   timer-event-handler([t 0 0 599999 nil org-element--cache-sync

> Backtrace:
>   org-element-cache diagnostics(20211101-journal): Nothing to remove.
> No elements in cache after 361. Terminating.

It looks like cache complete the synchronisation successfully, but some
command bypasses modification detection. Unfortunately, I cannot catch
the problematic command from backtrace. It acts "stealthily" for cache.
Is there a specific kind of edit sequence that you did right before the
warning appeared?

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-03 11:45               ` Ihor Radchenko
@ 2021-11-03 14:30                 ` Aaron Jensen
  2021-11-04  3:18                   ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-03 14:30 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Wed, Nov 3, 2021 at 7:43 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> > Here is a backtrace. The package it mentions is my own:
> > https://github.com/aaronjensen/emacs-orgonomic and
> > https://github.com/Somelauw/evil-org-mode is mentioned too.
>
> The mentions are ok. Backtrace should mention every command that
> actually changes the buffer.
>
> > Unregistered buffer modifications detected. Resetting.
> > ...
> >  Backtrace:
> > "  backtrace-to-string(nil)
> >   org-element--cache-sync(#<buffer 20211101-journal>)
> >   apply(org-element--cache-sync #<buffer 20211101-journal>)
> >   timer-event-handler([t 0 0 599999 nil org-element--cache-sync
>
> > Backtrace:
> >   org-element-cache diagnostics(20211101-journal): Nothing to remove.
> > No elements in cache after 361. Terminating.
>
> It looks like cache complete the synchronisation successfully, but some
> command bypasses modification detection. Unfortunately, I cannot catch
> the problematic command from backtrace. It acts "stealthily" for cache.
> Is there a specific kind of edit sequence that you did right before the
> warning appeared?
>
> Best,
> Ihor

I don't recall, but I'll view-lossage next time it happens.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-03 14:30                 ` Aaron Jensen
@ 2021-11-04  3:18                   ` Aaron Jensen
  2021-11-04 14:12                     ` Ihor Radchenko
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-04  3:18 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Wed, Nov 3, 2021 at 10:30 AM Aaron Jensen <aaronjensen@gmail.com> wrote:
>
> On Wed, Nov 3, 2021 at 7:43 AM Ihor Radchenko <yantar92@gmail.com> wrote:
> >
> > Aaron Jensen <aaronjensen@gmail.com> writes:
> >
> > > Here is a backtrace. The package it mentions is my own:
> > > https://github.com/aaronjensen/emacs-orgonomic and
> > > https://github.com/Somelauw/evil-org-mode is mentioned too.
> >
> > The mentions are ok. Backtrace should mention every command that
> > actually changes the buffer.
> >
> > > Unregistered buffer modifications detected. Resetting.
> > > ...
> > >  Backtrace:
> > > "  backtrace-to-string(nil)
> > >   org-element--cache-sync(#<buffer 20211101-journal>)
> > >   apply(org-element--cache-sync #<buffer 20211101-journal>)
> > >   timer-event-handler([t 0 0 599999 nil org-element--cache-sync
> >
> > > Backtrace:
> > >   org-element-cache diagnostics(20211101-journal): Nothing to remove.
> > > No elements in cache after 361. Terminating.
> >
> > It looks like cache complete the synchronisation successfully, but some
> > command bypasses modification detection. Unfortunately, I cannot catch
> > the problematic command from backtrace. It acts "stealthily" for cache.
> > Is there a specific kind of edit sequence that you did right before the
> > warning appeared?
> >
> > Best,
> > Ihor
>
> I don't recall, but I'll view-lossage next time it happens.

I got a warning when I did an org-agenda-todo to mark something as done.

https://gist.github.com/aaronjensen/163913c0937376c9699eaa71eaa0959a

No idea if it's related, but after a refile I save all org buffers eventually

(defvar aj/org-save-all-timer nil)
(defun aj/org-save-all-org-buffers-eventually (&rest _)
  (when aj/org-save-all-timer
    (cancel-timer aj/org-save-all-timer))
  (setq aj/org-save-all-timer
        (run-with-idle-timer 2 nil 'org-save-all-org-buffers)))

(use-feature org
  :config
  (advice-add 'org-refile :after 'aj/org-save-all-org-buffers-eventually)
  (advice-add 'org-schedule :after 'aj/org-save-all-org-buffers-eventually)
  (add-hook 'org-trigger-hook 'aj/org-save-all-org-buffers-eventually))

(use-feature org-agenda
  :config
  (advice-add 'org-agenda-quit :before 'aj/org-save-all-org-buffers-eventually)
  (advice-add 'org-agenda-todo :after 'aj/org-save-all-org-buffers-eventually)
  (advice-add 'org-agenda-deadline :after
'aj/org-save-all-org-buffers-eventually)
  (advice-add 'org-agenda-schedule :after
'aj/org-save-all-org-buffers-eventually)
  (advice-add 'org-agenda-refile :after
'aj/org-save-all-org-buffers-eventually))


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-04  3:18                   ` Aaron Jensen
@ 2021-11-04 14:12                     ` Ihor Radchenko
  2021-11-04 17:05                       ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-04 14:12 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> I got a warning when I did an org-agenda-todo to mark something as done.
>
> https://gist.github.com/aaronjensen/163913c0937376c9699eaa71eaa0959a

If I read the backtrace correctly, you did not update to the latest
main. Can you check if your Org is more recent than dc0c60f123?

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-04 14:12                     ` Ihor Radchenko
@ 2021-11-04 17:05                       ` Aaron Jensen
  2021-11-12  4:25                         ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-04 17:05 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Thu, Nov 4, 2021 at 10:11 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> > I got a warning when I did an org-agenda-todo to mark something as done.
> >
> > https://gist.github.com/aaronjensen/163913c0937376c9699eaa71eaa0959a
>
> If I read the backtrace correctly, you did not update to the latest
> main. Can you check if your Org is more recent than dc0c60f123?

Ah, it was not, I'm sorry. I have updated. I'll report back next time
I see something.

Thanks,

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-04 17:05                       ` Aaron Jensen
@ 2021-11-12  4:25                         ` Aaron Jensen
  2021-11-14  8:01                           ` Ihor Radchenko
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-12  4:25 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Another one: https://gist.github.com/aaronjensen/5114997373008e18a6473f513f5d5da8

I don't have the details of what I was doing in the time, sorry.

I'm on: ded97b767 * main origin/main org-element.el: Fix regression
from d3836c1a1

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-12  4:25                         ` Aaron Jensen
@ 2021-11-14  8:01                           ` Ihor Radchenko
  2021-11-14 20:10                             ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-14  8:01 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> Another one: https://gist.github.com/aaronjensen/5114997373008e18a6473f513f5d5da8
>
> I don't have the details of what I was doing in the time, sorry.
>
> I'm on: ded97b767 * main origin/main org-element.el: Fix regression
> from d3836c1a1

I have done some related fixes recently. An update might help. Also, do
you happen to use polymode? If so, the warning may be related to
https://github.com/polymode/poly-org/issues/33

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-14  8:01                           ` Ihor Radchenko
@ 2021-11-14 20:10                             ` Aaron Jensen
  2021-11-17  6:05                               ` Aaron Jensen
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-14 20:10 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Sun, Nov 14, 2021 at 3:00 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> > Another one: https://gist.github.com/aaronjensen/5114997373008e18a6473f513f5d5da8
> >
> > I don't have the details of what I was doing in the time, sorry.
> >
> > I'm on: ded97b767 * main origin/main org-element.el: Fix regression
> > from d3836c1a1
>
> I have done some related fixes recently. An update might help. Also, do
> you happen to use polymode? If so, the warning may be related to
> https://github.com/polymode/poly-org/issues/33

I've updated. I do not use polymode.

Thanks,

Aaron


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-14 20:10                             ` Aaron Jensen
@ 2021-11-17  6:05                               ` Aaron Jensen
  2021-11-17 12:04                                 ` Ihor Radchenko
  2021-11-17 12:20                                 ` Max Nikulin
  0 siblings, 2 replies; 25+ messages in thread
From: Aaron Jensen @ 2021-11-17  6:05 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Sun, Nov 14, 2021 at 3:10 PM Aaron Jensen <aaronjensen@gmail.com> wrote:
>
> On Sun, Nov 14, 2021 at 3:00 AM Ihor Radchenko <yantar92@gmail.com> wrote:
> >
> > Aaron Jensen <aaronjensen@gmail.com> writes:
> >
> > > Another one: https://gist.github.com/aaronjensen/5114997373008e18a6473f513f5d5da8
> > >
> > > I don't have the details of what I was doing in the time, sorry.
> > >
> > > I'm on: ded97b767 * main origin/main org-element.el: Fix regression
> > > from d3836c1a1
> >
> > I have done some related fixes recently. An update might help. Also, do
> > you happen to use polymode? If so, the warning may be related to
> > https://github.com/polymode/poly-org/issues/33
>
> I've updated. I do not use polymode.

Here's another on c47b535bb:

https://gist.github.com/aaronjensen/348d879f79099c0d9b660bad199f25af

I don't recall what I was doing at the time, it was during a meeting.


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-17  6:05                               ` Aaron Jensen
@ 2021-11-17 12:04                                 ` Ihor Radchenko
  2021-11-18 14:15                                   ` Aaron Jensen
  2021-11-17 12:20                                 ` Max Nikulin
  1 sibling, 1 reply; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-17 12:04 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> Here's another on c47b535bb:
>
> https://gist.github.com/aaronjensen/348d879f79099c0d9b660bad199f25af
>
> I don't recall what I was doing at the time, it was during a meeting.

I do not see anything meaningful in the backtrace, except that "Current
command: nil" is probably related to some third-party package. If there
is nothing obvious in your config that may be responsible, you can set
org-element--cache-diagnostics-modifications to nil to suppress the
warning.

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-17  6:05                               ` Aaron Jensen
  2021-11-17 12:04                                 ` Ihor Radchenko
@ 2021-11-17 12:20                                 ` Max Nikulin
  1 sibling, 0 replies; 25+ messages in thread
From: Max Nikulin @ 2021-11-17 12:20 UTC (permalink / raw)
  To: emacs-orgmode

On 17/11/2021 13:05, Aaron Jensen wrote:
> 
> I don't recall what I was doing at the time, it was during a meeting.

You press C-h l that calls view-lossage and look into help buffer later.

This command helped me to realize what was the cause of 
https://list.orgmode.org/smre9o$hn1$1@ciao.gmane.io/



^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-17 12:04                                 ` Ihor Radchenko
@ 2021-11-18 14:15                                   ` Aaron Jensen
  2021-11-18 14:30                                     ` Ihor Radchenko
  0 siblings, 1 reply; 25+ messages in thread
From: Aaron Jensen @ 2021-11-18 14:15 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

On Wed, Nov 17, 2021 at 7:03 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Aaron Jensen <aaronjensen@gmail.com> writes:
>
> > Here's another on c47b535bb:
> >
> > https://gist.github.com/aaronjensen/348d879f79099c0d9b660bad199f25af
> >
> > I don't recall what I was doing at the time, it was during a meeting.
>
> I do not see anything meaningful in the backtrace, except that "Current
> command: nil" is probably related to some third-party package. If there
> is nothing obvious in your config that may be responsible, you can set
> org-element--cache-diagnostics-modifications to nil to suppress the
> warning.
>
> Best,
> Ihor

Ok, I've disabled it for now.

I'm seeing another issue and I don't know if it is related. When I
save an org-capture my emacs spins for a long time. I C-g w/
toggle-debug-on-quit and got this:


Debugger entered--Lisp error: (quit)
  org-element--parse-generic-emphasis("/" italic)
  org-element-italic-parser()
  org-element--object-lex((bold citation code entity export-snippet
footnote-reference inline-babel-call inline-src-block italic
line-break latex-fragment link macro radio-target statistics-cookie
strike-through subscript superscript target timestamp underline
verbatim))
  org-element--parse-objects(532 1586811 (paragraph (:begin 532 :end
1586811 :contents-begin 532 :contents-end 1586811 :post-blank 0
:post-affiliated 532 :mode nil :granularity nil :parent nil)) (bold
citation code entity export-snippet footnote-reference
inline-babel-call inline-src-block italic line-break latex-fragment
link macro radio-target statistics-cookie strike-through subscript
superscript target timestamp underline verbatim))
  org-element--parse-elements(508 1586811 planning nil nil nil
(section (:begin 508 :end 1586812 :contents-begin 508 :contents-end
1586811 :robust-begin 508 :robust-end 1586809 :post-blank 1
:post-affiliated 508 :mode section :granularity nil :parent nil)))
  org-element--parse-elements(508 1586811 section nil nil nil
(headline (:raw-value "Report org" :begin 490 :end 1586812 :pre-blank
0 :contents-begin 508 :contents-end 1586811 :robust-begin 510
:robust-end 1586809 :level 1 :priority nil :tags nil :todo-keyword
#("TODO" 0 4 (wrap-prefix #("* " 0 2 (face org-indent)) line-prefix ""
fontified nil)) :todo-type todo :post-blank 1 :footnote-section-p nil
:archivedp nil :commentedp nil :post-affiliated 490 :title (#("Report
org" 0 10 (:parent #7))) :mode nil :granularity nil :parent nil)))
  org-element--parse-elements(1 1587283 first-section nil nil nil
(org-data (:begin 1 :contents-begin 1 :contents-end 1587283 :end
1587283 :robust-begin 67 :robust-end 1587281 :post-blank 0
:post-affiliated 1 :path "/Users/path..." :mode org-data :ID
"AB94746D-500B-49F3-9E4F-067D2B7E3976" :CATEGORY "Refile")))
  org-element-parse-buffer()
  org-roam-db-update-file()
  org-roam-db-autosync--try-update-on-save-h()
  run-hooks(after-save-hook)
  basic-save-buffer(nil)
  save-buffer()
  org-capture-finalize(nil)
  funcall-interactively(org-capture-finalize nil)
  command-execute(org-capture-finalize)


^ permalink raw reply	[flat|nested] 25+ messages in thread

* Re: [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)]
  2021-11-18 14:15                                   ` Aaron Jensen
@ 2021-11-18 14:30                                     ` Ihor Radchenko
  0 siblings, 0 replies; 25+ messages in thread
From: Ihor Radchenko @ 2021-11-18 14:30 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: emacs-orgmode

Aaron Jensen <aaronjensen@gmail.com> writes:

> I'm seeing another issue and I don't know if it is related. When I
> save an org-capture my emacs spins for a long time. I C-g w/
> toggle-debug-on-quit and got this:
>
>
> Debugger entered--Lisp error: (quit)
>   org-element--parse-generic-emphasis("/" italic)
>   org-element-italic-parser()
>   org-element--object-lex...
>   org-element--parse-objects...
>   org-element-parse-buffer()

org-element--parse-generic-emphasis has been introduced in very recent
commits. However, I haven't seen issues with this new function.

I tried to run org-element-parse-buffer from a capture buffer. It works
just fine for me.

It would be helpful if you provide a repro.
Also, you can try to debug-on-entry org-element-parse-buffer and check
where exactly the hang happens by stepping through the debugger.

Best,
Ihor


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2021-11-18 14:29 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 15:17 [BUG] Unregistered buffer modifications detected [9.5 (9.5-g49e2f6 @ /Users/myuser/.emacs.d/straight/29/straight/build/org/)] Aaron Jensen
2021-10-30 15:39 ` Ihor Radchenko
2021-10-30 16:45   ` Aaron Jensen
2021-10-31  2:07     ` Aaron Jensen
2021-10-31  2:55       ` Ihor Radchenko
2021-10-31  2:48     ` Ihor Radchenko
2021-10-31  3:16       ` Aaron Jensen
2021-11-01  0:38         ` Aaron Jensen
2021-11-01 12:50           ` Ihor Radchenko
2021-11-02 23:19             ` Aaron Jensen
2021-11-02 23:32               ` Aaron Jensen
2021-11-03 11:40                 ` Ihor Radchenko
2021-11-03 11:45               ` Ihor Radchenko
2021-11-03 14:30                 ` Aaron Jensen
2021-11-04  3:18                   ` Aaron Jensen
2021-11-04 14:12                     ` Ihor Radchenko
2021-11-04 17:05                       ` Aaron Jensen
2021-11-12  4:25                         ` Aaron Jensen
2021-11-14  8:01                           ` Ihor Radchenko
2021-11-14 20:10                             ` Aaron Jensen
2021-11-17  6:05                               ` Aaron Jensen
2021-11-17 12:04                                 ` Ihor Radchenko
2021-11-18 14:15                                   ` Aaron Jensen
2021-11-18 14:30                                     ` Ihor Radchenko
2021-11-17 12:20                                 ` Max Nikulin

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).