io12/good-scroll.el

Error running timer ‘good-scroll--render’: (wrong-type-argument number-or-marker-p nil)

Opened this issue · 2 comments

Describe the bug
I get an error when I press shift-tab to close the org-mode document

Error running timer ‘good-scroll--render’: (wrong-type-argument number-or-marker-p nil) [208 times]

As you can see, the error was executed 208 times

Version and environment

  • OS: macOS
  • Emacs version 28.1.4
io12 commented

I can't reproduce this. Can you give more detailed instructions of how to cause the error? For me shift-tab collapses all the headers and doesn't close an org-mode document.

When more pictures are inserted in the org document, it will reproduce when scrolling or inserting, like this

2022-07-29 15 43 10

In addition, sometimes, when I use C-x C-f to open the directory, it cannot be opened, and the following problem is reported:
good-scroll--point-at-top-p: Args out of range: 12101, 1, 3618

But no specific pattern has been found.