-
Notifications
You must be signed in to change notification settings - Fork 15
Suppressing errors in activities-mode-timer
#25
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
Comments
Hi Karthik, Believe me, I have encountered this myself, usually at the most inconvenient time, so I forgot to file an issue about it. I thought that the new Lines 277 to 285 in 6ef5924
It calls this function: Lines 734 to 740 in 6ef5924
Which should prevent it from trying to save an activity if a backtrace is visible. Since adding that, I haven't seen the problem again. Are you sure you're using the latest version? |
Well, it just happened to me again, so now I understand what you meant. :) I think the fix I just pushed should solve it. Please let me know if it happens again. |
Just updated, it appears to be fixed. Thank you! |
Hi @alphapapa,
I often use Emacs with
toggle-debug-on-error
turned on, usually when developing a package. When the idle timer for activities fires (every five seconds by default), I get a backtrace popup for a buffer that could not be bookmarked -- eldoc for instance:I understand that
activities-save-all
demotes errors (viacondition-case-unless-debug
), so this is only a problem because I've turned on debugging. But the result is that I've had to turn off activities-mode whenever I'm working on an Emacs lisp package, which sort of defeats the purpose of using it to save state.Is it possible to make it (via a user option perhaps) so that the idle-timer function optionally uses
condition-case
instead ofcondition-case-unless-debug
?I understand that this is not an error on the part of activities.el, so feel free to close this issue if it's out of scope.
The text was updated successfully, but these errors were encountered: