bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71354: Replace anonymous lambda timers with named functions for bett


From: Andrea Corallo
Subject: bug#71354: Replace anonymous lambda timers with named functions for better tracing
Date: Tue, 04 Jun 2024 04:22:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Matthew Bauer <mjbauer95@gmail.com> writes:

> Tags: patch
>
>
> I noticed a few timers found in ‘M-x list-timers’ were anonymous lambdas
> that show up like this:
>
>    *           0.5s            t #<subr 
> F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_9>
>
> That’s not particularly helpful when trying to figure out what timers
> are being run. I tracked down the two that I have configured to eldoc
> and jit-lock. This gives them names that can be traced.

I'm okay with the change.  Another fix maybe more general would have
having more information in the subr name.  I think Alan is working on
this in bug#66750 but I suspect it will not go in for emacs 30.

  Andrea





reply via email to

[Prev in Thread] Current Thread [Next in Thread]