From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Redisplay: NS port, high CPU load Date: Fri, 10 Jun 2016 19:46:01 +1000 Message-ID: References: <9793F9E3-979A-4888-8662-F6E0C27C8B37@gmail.com> <20160608195552.GA66865@breton.holly.idiocy.org> <7B0CAF99-689D-4128-8E33-7D9BA8F1823E@gmail.com> <41E503B6-5048-4E20-92CE-1FAD4C05A279@gmail.com> <525668A8-4B0E-4791-A423-F1D4903F4511@gmail.com> <83lh2dpetr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1465552016 24471 80.91.229.3 (10 Jun 2016 09:46:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jun 2016 09:46:56 +0000 (UTC) Cc: alan@idiocy.org, andlind@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 10 11:46:50 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bBJ1e-0005A7-D8 for ged-emacs-devel@m.gmane.org; Fri, 10 Jun 2016 11:46:50 +0200 Original-Received: from localhost ([::1]:39360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBJ1d-0008EZ-QD for ged-emacs-devel@m.gmane.org; Fri, 10 Jun 2016 05:46:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBJ14-0008EU-Qn for emacs-devel@gnu.org; Fri, 10 Jun 2016 05:46:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBJ13-0003nr-R1 for emacs-devel@gnu.org; Fri, 10 Jun 2016 05:46:14 -0400 Original-Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:34019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBJ0y-0003lK-RB; Fri, 10 Jun 2016 05:46:08 -0400 Original-Received: by mail-pa0-x22e.google.com with SMTP id bz2so22211619pad.1; Fri, 10 Jun 2016 02:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wq+ju2vHAoOaT9bNADF5tlOrqI4Pvm9Uk63c8ClfCeQ=; b=Pc7Wm+KRAn93Q+PSu0wOEUCO4cQMFCw23u6LvseZl5jz5I3Ys3Qo+u8pUPXuQzCF3L HbYaSpx0I2iLRZFxbABhXqNbkFiB2HGnlqd5MOL3byIYoLsSVLVvj6wAoKnp7nGbxMC4 ERtXAy7ZiNMCbfeVrCvSMW74a1kJ1XTb7qznZr67RhorZ9oxt7Cl+Wyv5Dzh07H+UlAq I7+AffPSlhuulDY4/40Y1Gopylpxh9PfXqa6MzX1YVD6s04GWxl7ErLTRoWQPrLPOjTX YbjCg307T0cJwT6Iazl8r5Fgbqf/Or+hQ9RgGWfz6w8TELzU1pPiPL0mGJttIdB1OrLx 3f7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wq+ju2vHAoOaT9bNADF5tlOrqI4Pvm9Uk63c8ClfCeQ=; b=Ae1YEZu7bK8Sisxb5CkFJ0iyxRpEWTK8Yuo69xwL4xWU00NNnAhv+9K2ZwGa9i1vZD jbXYXNPyrvYDWClhHrv47zHBe5V9v6VF94YjFhLc3TZk936RAW8Oj71ftpJ6jE2bCxob NlDgHu0Gs0t21XbJwQjbWY3T1gxK5jykH4cIeNBURZIOkDVdnbztGf06iVqbbXmEG5Ay PaOEvgZj4EWZv+wsp2O61Czegfk2FD99peSsIobwhc1DPZY7QTJyeZ1Eg/c6Es6gUkYQ 9i8juIFcnIkUqC+oq8sti1Tq5i2js7dLnEOM7jJsewXNnt3xHH/Nle9AdTLHeQKh+ztQ xqSA== X-Gm-Message-State: ALyK8tKoKSa8jfGi090d2XgbxOLGZwLribGCiUQio7yM2taLia/eXLCEjgpOf5RpcOLUxw== X-Received: by 10.66.1.134 with SMTP id 6mr1371100pam.15.1465551967603; Fri, 10 Jun 2016 02:46:07 -0700 (PDT) Original-Received: from [10.71.1.48] (cpe-123-100-131-74.pivit.net.au. [123.100.131.74]) by smtp.gmail.com with ESMTPSA id j65sm16225814pfj.44.2016.06.10.02.46.04 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jun 2016 02:46:06 -0700 (PDT) In-Reply-To: <83lh2dpetr.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204269 Archived-At: On Jun 10, 2016, at 7:34 PM, Eli Zaretskii 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=E2=80=99m stupid. I would have cherry-picked it in = the release branch then. >=20 >> Also, I would suggest to check whether code like this should indeed = trigger an update_frame_tool_bar. >>=20 >> (with-temp-buffer >> (insert "XXX")) >=20 > 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.