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

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

bug#22114: 24.5; [PATCH] Allow profiler.el to display reports after stop


From: Vasilij Schneidermann
Subject: bug#22114: 24.5; [PATCH] Allow profiler.el to display reports after stopping
Date: Tue, 8 Dec 2015 19:12:37 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

> You just want the profiler report display to be idempotent? Wouldn't this mean
> necessitating another command call in order to reset results? Some people may
> be used to the fact that a report resets the results.

That's correct.  I consider an implementation using a variable more
resilient than relying on the user not to kill the buffer (which isn't
as unlikely as you'd think, given newbie questions of how to make Emacs
open less buffers).  Resetting does already have a command,
`profiler-reset`.  I've adjusted it in my patch to set the variables to
`nil` so that it will behave correctly in accordance with the other
changes.





reply via email to

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