-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nil deref error in treemacs when explain-pause-mode is active (root cause: process-filter wrap nil callback) #44
Comments
Hi!! Thanks for the bug report. I'm 100% sure it's because I didn't read the documentation carefully enough for
Well, duh,
This would drop into https://github.com/lastquestion/explain-pause-mode/blob/master/explain-pause-mode.el#L1878 which drops into https://github.com/lastquestion/explain-pause-mode/blob/master/explain-pause-mode.el#L1838 which drops into https://github.com/lastquestion/explain-pause-mode/blob/master/explain-pause-mode.el#L1807, which tries to call I'll pull a repro case together. The fix needs to be around https://github.com/lastquestion/explain-pause-mode/blob/master/explain-pause-mode.el#L1874 and for I think this is an easy fix, it's possible to advise the code to fix it locally too but it's a bit of a pain. I'll just suggest waiting, I'll get this fixed today. Thanks again for reporting!! I'm surprised no one else has hit this... kind of a glaring bug 🤣 |
Repro case
|
Hi!! Sorry this took longer to fix then I thought. This should fix the issue, please re-open if it doesn't! |
Hi @tomfitzhenry I was going through old PRs to add repro cases to a set of integration test - a little creepy but I saw your reference 😀
|
Not creepy at all! That's one of the handy parts of Github.
I've now raised a bug at #46 . Thanks for your great work! |
Opening a treemacs buffer, and calling
treemacs-toggle-node
on one of the folders triggers a(void-function nil)
errordisabling
explain-pause-mode
eliminates the error.I haven't dived much deeper into this so far (need to finish unrelated work) - but figured I'd post this here to see if there is any immediate insight. Thanks for taking a look!
The text was updated successfully, but these errors were encountered: