emacs-helm / helm-org

53 stars 9 forks source link

helm-org-in-buffer-headings (user-error "Not on a table") #16

Closed stardiviner closed 4 years ago

stardiviner commented 4 years ago

When I use command helm-org-in-buffer-headings in some big Org file, I got error:

Error during redisplay: (jit-lock-function 219424) signaled (user-error "Not on a table")

I searched this error in Org Mode source code, the only place is org-table-toggle-coordinate-overlays And only one function org-table-fedit-toggle-coordinates invoked it. But no function invoked org-table-fedit-toggle-coordinates.

Then I searched helm-org source code, Still can't figure out what caused this error. Because I can't parse my big Org file one line by one line.

I try to debug-on-entry on org-table-toggle-coordinate-overlays to figure out what functions invoked it. But no lucky. I can't reproduce this error in later, I just got this error sometimes. For big Org file, I just got no headliens candidates.

I recorded a video to show this. Link: https://pan.baidu.com/s/1vQdX01rVMmh_FcWP5Wufrw the extract code: 8fg9

stardiviner commented 4 years ago

Weird, I accidently saw my added extension valign, I thought might it caused this problem.

I disabled it, then restart Emacs, the problem is gone.