Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-12-04 Thread Ihor Radchenko
Max Nikulin writes: > >8 > * A > B > 8< > > C-c C-* while cursor is at the end of second line Thanks! I was able to reproduce. And it is bad news. > Current command: (nil 26 30) > Chars modified: 26 > Buffer modified: 30 This has the same footprint with (let ((inhibit

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-12-03 Thread Max Nikulin
On 03/12/2021 11:36, Ihor Radchenko wrote: Max Nikulin writes: Unfortunately currently it fails in Emacs-26.3 event without "#+startup: indent": Warning (org-element-cache): org-element--cache: Unregistered buffer modifications detected. Resetting. If this warning appears regularly, please re

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-12-02 Thread Ihor Radchenko
Max Nikulin writes: > Unfortunately currently it fails in Emacs-26.3 event without "#+startup: > indent": > > Warning (org-element-cache): org-element--cache: Unregistered buffer > modifications detected. Resetting. > If this warning appears regularly, please report it to Org mode mailing > li

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-12-02 Thread Max Nikulin
On 02/12/2021 08:48, Ihor Radchenko wrote: Max Nikulin writes: Well... I added yet another exception on main. Note that this special case is also just in older Emacs versions. Ihor, have you pushed the change? I still can reproduce the issue with Emacs-26.3 Oops. I fixed Emacs 27, but appar

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-12-01 Thread Ihor Radchenko
Max Nikulin writes: >> Well... I added yet another exception on main. Note that this special >> case is also just in older Emacs versions. > > Ihor, have you pushed the change? I still can reproduce the issue with > Emacs-26.3 Oops. I fixed Emacs 27, but apparently not Emacs 26. Should be fixed

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-12-01 Thread Max Nikulin
On 30/11/2021 19:54, Ihor Radchenko wrote: Max Nikulin writes: Ihor, thank you for your work related to such issues. I had a hope to thank you for the fix, but I faced a warning again in a bit modified scenario. This time it is soft indent mode. ... First letter of new heading must be a capital

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-30 Thread Ihor Radchenko
Max Nikulin writes: > Ihor, thank you for your work related to such issues. I had a hope to > thank you for the fix, but I faced a warning again in a bit modified > scenario. This time it is soft indent mode. > ... > First letter of new heading must be a capital one, though it can be > Latin.

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-30 Thread Max Nikulin
On 21/11/2021 15:35, Ihor Radchenko wrote: Max Nikulin writes: C-\ russian-computer RET A C-* Latin "A" to type Cyrillic "Ф" Apparently, C-* on Ф Put cursor on this line and hit =C-c C-*= to make it a heading and just Ф are producing different buffer-chars-modified-tick/buffer-modified-t

Re: [BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-21 Thread Ihor Radchenko
Max Nikulin writes: > Ihor, I am sorry, but I am still getting the error > > LANG=en_US.UTF-8 emacs -Q -L ~/src/emacs/org-mode/lisp/ new.org > > C-\ russian-computer RET > A > C-* > > Latin "A" to type Cyrillic "Ф" Apparently, C-* on > Ф Put cursor on this line and hit =C-c C-*= to make it a hea

[BUG] C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-18 Thread Max Nikulin
On 14/11/2021 14:59, Ihor Radchenko wrote: Ihor Radchenko writes: Confirmed However, I can only trigger the warning up to Emacs 27. Emacs 28 and later has no issue. Need to investigate further. Fixed via c3f457375. This is another case when Emacs internals (replace-match) increase buffer-cha

Re: C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-13 Thread Ihor Radchenko
Ihor Radchenko writes: > Confirmed > However, I can only trigger the warning up to Emacs 27. Emacs 28 and > later has no issue. > > Need to investigate further. Fixed via c3f457375. This is another case when Emacs internals (replace-match) increase buffer-chars-modified-tick. Eventually, this wa

Re: C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-11 Thread Ihor Radchenko
Max Nikulin writes: > Org main, Emacs-26.3 > > c-star.org file: > >8 > Ф Put cursor on this line and hit =C-c C-*= to make it a heading > 8< > > Notice a Cyrillic letter that causes a problem with `org-ctrl-c-star'. Confirmed However, I can only trigger the warning up to Emac

C-c C-* causes "org-element--cache: Unregistered buffer modifications detected."

2021-11-11 Thread Max Nikulin
Another case of 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: c-star.org Current command: nil Backtrace: nil Org main, Emacs