-
Notifications
You must be signed in to change notification settings - Fork 35
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
Error running timer ‘aggressive-indent--indent-if-changed’: (error "Selecting deleted buffer") #137
Comments
Thu Apr 23 13:39:50 BST 2020 Further to the above, this error continuously shows up in the Just wondering why turning off (With AIM off, both |
@rprimus The error stays because the code trying to select a deleted buffer (which causes the error) is run from a timer and fails to cancel the timer for exactly that reason. |
Odd that I didn't get that at all. |
@Malabarba This error appears to me when I close buffers within *Ibuffer* window, for example. |
I hate to be the bearer of bad news... but this is still broken as of current master ( Here's a backtrace. I omitted some of it due to being extremely long plus containing some personal info, e.g. buffer names, but it should be useful still:
|
@chasecaleb @Malabarba (and aggressive-indent--idle-timer
(cancel-timer aggressive-indent--idle-timer) in my fix. :-) |
Since the update to the latest MELPA version 20200421.1149, I frequently get the error in the subject. I think the problem is that you use
with-current-buffer
and inside that, you then check if the buffer is live. I guess you need to do it the other way round. The following version works for me:The text was updated successfully, but these errors were encountered: