unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David Reitter <david.reitter@gmail.com>
Cc: alan@idiocy.org, andlind@gmail.com, emacs-devel@gnu.org
Subject: Re: Redisplay: NS port, high CPU load
Date: Fri, 10 Jun 2016 12:34:40 +0300	[thread overview]
Message-ID: <83lh2dpetr.fsf@gnu.org> (raw)
In-Reply-To: <525668A8-4B0E-4791-A423-F1D4903F4511@gmail.com> (message from David Reitter on Fri, 10 Jun 2016 18:16:39 +1000)

> From: David Reitter <david.reitter@gmail.com>
> Date: Fri, 10 Jun 2016 18:16:39 +1000
> Cc: Alan Third <alan@idiocy.org>,
>  Emacs-Devel devel <emacs-devel@gnu.org>
> 
> On Jun 10, 2016, at 4:02 PM, Anders Lindgren <andlind@gmail.com> wrote:
> 
> > I will be away for the weekend, so if you have write access, feel free to commit it yourself. Otherwise, I can do it at the beginning of next week. Personally, I think this should go into the emacs-25 branch but we will have to get that approved from John or Eli.
> 
> Good, I have checked in the change.
> 
> Eli, this addresses a high-CPU-load condition on OS X when a revert-buffer icon is present in the toolbar and the current buffer was unmodified.  This may or may not be the somewhat difficult-to-trace 100% CPU load bug a lot of us have been seeing on OSX.   The functionality of the utf-8-hfs coding system for the filesystem is preserved is tests.
> 
> I would suggest to merge this into emacs-25.

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.

> 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?



  reply	other threads:[~2016-06-10  9:34 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08  6:04 Redisplay: NS port, high CPU load David Reitter
2016-06-08  7:50 ` Anders Lindgren
2016-06-08 10:44   ` David Reitter
2016-06-08 19:55     ` Alan Third
2016-06-08 20:12       ` David Reitter
2016-06-09  1:03         ` David Reitter
2016-06-09  8:22           ` David Reitter
2016-06-09  9:25             ` Anders Lindgren
2016-06-09 13:04               ` David Reitter
2016-06-09 14:11                 ` Anders Lindgren
2016-06-09 18:03                   ` David Reitter
2016-06-09 18:52                     ` Anders Lindgren
2016-06-09 23:03                       ` David Reitter
2016-06-10  6:02                         ` Anders Lindgren
2016-06-10  8:16                           ` David Reitter
2016-06-10  9:34                             ` Eli Zaretskii [this message]
2016-06-10  9:46                               ` David Reitter
2016-06-10 10:22                                 ` Eli Zaretskii
2016-06-10 10:36                                   ` David Reitter
2016-06-13 18:44                                     ` Anders Lindgren
2016-06-13 19:16                                       ` Eli Zaretskii
2016-06-14 12:07                                         ` David Reitter
2016-06-14 17:02                                           ` Eli Zaretskii
2016-06-15  3:55                                           ` Stefan Monnier
2016-06-14 11:50                                       ` David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lh2dpetr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=alan@idiocy.org \
    --cc=andlind@gmail.com \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).