emacs-devel
[Top][All Lists]
Advanced

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

Re: Redisplay: NS port, high CPU load


From: David Reitter
Subject: Re: Redisplay: NS port, high CPU load
Date: Fri, 10 Jun 2016 19:46:01 +1000

On Jun 10, 2016, at 7:34 PM, Eli Zaretskii <address@hidden> wrote:

> If you want it on the release branch, why did you push it to master?
> This just makes things more complicated than they should be.

I guess because I’m stupid.  I would have cherry-picked it in the release 
branch then.


> 
>> Also, I would suggest to check whether code like this should indeed trigger 
>> an update_frame_tool_bar.
>> 
>>  (with-temp-buffer
>>   (insert "XXX"))
> 
> I don't think so.  It doesn't here.  How did you check that it does on
> your system?

Enable NSTRACE in nsterm.h, specifically for updates.

Run an observe output.  Observe that the above causes an update to the toolbar, 
unlike evaluating other expressions.





reply via email to

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