emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@yandex.ru>
To: emacs-orgmode@gnu.org
Subject: [BUG] Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting. [9.5 (release_9.5-223-g876e81 @ /usr/share/emacs/site-lisp/org/)]
Date: Thu, 11 Nov 2021 12:54:41 +0800	[thread overview]
Message-ID: <875yszmgvi.fsf@smoon4.bkoty.ru> (raw)



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

Hello.

A few weeks ago I started seeing these warnings from Emacs:

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: charges.org
 Current command: org-self-insert-command
 Backtrace:
nil Disable showing Disable logging
Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting.
If this warning appears regularly, please report it to Org mode mailing list (M-x org-submit-bug-report).
The buffer is: charges.org
 Current command: org-self-insert-command
 Backtrace:
nil Disable showing Disable logging

This happens when I edit a table. Even if I disable the warning
("showing" and "logging"), editing is still very slow compared to what it
was.

Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.2430, cairo version 1.17.4)
 of 2021-11-10
Package: Org mode version 9.5 (release_9.5-223-g876e81 @ /usr/share/emacs/site-lisp/org/)

current state:
==============
(setq
 org-archive-location "~/works/org/archive/%s::* Завершённые задания\n\n"
 org-link-elisp-confirm-function 'yes-or-no-p
 org-format-latex-header "\\documentclass{article}\n\\usepackage[conf=org-preview]{isu-th3}\n[NO-PACKAGES]\n[NO-DEFAULT-PACKAGES]\n[EXTRA]"
 org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"]
 org-log-done 'note
 org-log-into-drawer t
 org-agenda-files "/home/vladimir/works/org/agenda.txt"
 org-capture-templates '(("t" "Список заданий" entry (file+headline (format "%s/refile.org" x-org-directory) "Задания")
                          (format "%%[%s/emacs/org/capture-todo.txt]" x-data-dir))
                         ("j" "Журнал событий" entry (file+olp+datetree (format "%s/journal.org" x-org-directory))
                          (format "%%[%s/emacs/org/capture-journal.txt]" x-data-dir))
                         ("n" "Идеи, короткие заметки" entry (file+olp+datetree (format "%s/refile.org" x-org-directory))
                          (format "%%[%s/emacs/org/capture-note-idea.txt]" x-data-dir))
                         )
 org-persist-after-read-hook '(org-element--cache-persist-after-read)
 org-export-before-parsing-hook '(org-attach-expand-links)
 org-tag-alist '(("срочно" . 117) ("позвонить" . 99) ("задания" . 101) ("daily" . 100) ("schedule" . 115) ("работа" . 119)
                 ("встреча" . 109) ("личное" . 112) (:startgroup) ("@универ" . 110) ("@политех" . 111) ("@институт" . 105)
                 ("@дом" . 104) (:endgroup))
 org-default-notes-file "/home/vladimir/works/org/refile.org"
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-file-apps '(("\\.pdf\\'" . "zathura %s") ("\\.pdf::\\([[:digit:]]+\\)\\'" . "zathura --page=%1 %s") (auto-mode . emacs)
                 (system . system))
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-persist-before-read-hook '(org-element--cache-persist-before-read)
 org-modules '(ol-bbdb ol-bibtex ol-docview org-habit org-id ol-info org-protocol)
 org-mode-hook '((lambda nil (electric-indent-local-mode -1))
                 #[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
                 #[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2])
 org-babel-load-languages '((emacs-lisp . t) (gnuplot . t) (asymptote . t) (perl . t) (R . t) (shell . t))
 org-src-window-setup 'split-window-right
 org-id-locations-file "/home/vladimir/.cache/emacs/org-id-locations"
 org-link-file-path-type 'relative
 org-confirm-shell-link-function 'yes-or-no-p
 outline-isearch-open-invisible-function 'outline-isearch-open-invisible
 org-use-sub-superscripts '{}
 org-highlight-latex-and-related '(latex scripts entities)
 org-edit-src-auto-save-idle-delay 3
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-tangle-lang-exts '(("perl" . "pl") ("asymptote" . "asy") ("emacs-lisp" . "el") ("elisp" . "el"))
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer
                     (lambda nil (define-key org-src-mode-map [f2] 'org-edit-src-save)))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)") (types "УНИВЕР(u)" "ИНСТИТУТ(i)" "ПОЛИТЕХ(p)" "ДОМ(h)" "|" "СДЕЛАНО(c)"))
 org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate)
 org-export-backends '(ascii html latex odt org)
 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-link-shell-confirm-function 'yes-or-no-p
 org-babel-pre-tangle-hook '(save-buffer)
 org-agenda-loop-over-headlines-in-active-region nil
 org-occur-hook '(org-first-headline-recenter)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link)
                       ("info" :follow org-info-open :export org-info-export :store org-info-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)
                       ("id" :follow org-id-open) ("file+sys") ("file+emacs") ("doi" :follow org-link--open-doi)
                       ("elisp" :follow org-link--open-elisp) ("file" :complete org-link-complete-file)
                       ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("help" :follow org-link--open-help :store org-link--store-help)
                       ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("message" :follow (lambda (path) (browse-url (concat "message:" path))))
                       ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
                       ("shell" :follow org-link--open-shell))
 org-mark-ring-length 64
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-return-follows-link t
 org-src-lang-modes '(("elisp" . emacs-lisp) ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql) ("calc" . fundamental)
                      ("C" . c) ("cpp" . c++) ("C++" . c++) ("screen" . shell-script) ("shell" . sh) ("bash" . sh) ("latex" . LaTeX))
 org-attach-store-link-p 'attached
 )

--
WBR, Vladimir Lomov

God save us from a bad neighbor and a beginner on the fiddle.

Critical Infrastructure & Key Resources Fedayeen SHA PGP white noise
advisors Water borne FKS Venezuela CBOT PSAC NSA Tamiflu Maple Vaccine

-- 


             reply	other threads:[~2021-11-11  4:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11  4:54 Vladimir Lomov [this message]
2021-11-11  5:54 ` Ihor Radchenko
2021-11-11  6:50   ` Vladimir Lomov
2021-11-11 11:53     ` table and Cyrillic characters: org-element--cache: Unregistered buffer modifications detected. Resetting Max Nikulin
2021-11-11 12:58       ` Ihor Radchenko
2021-11-14  7:56         ` Ihor Radchenko
2021-11-14 16:42           ` Max Nikulin
2021-11-17 12:15             ` Ihor Radchenko
2021-11-18 16:17               ` Max Nikulin
2021-11-21  8:36                 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yszmgvi.fsf@smoon4.bkoty.ru \
    --to=lomov.vl@yandex.ru \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [BUG] Warning (emacs): org-element--cache: Unregistered buffer modifications detected. Resetting. [9.5 (release_9.5-223-g876e81 @ /usr/share/emacs/site-lisp/org/)]' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).