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: Thu, 9 Jun 2016 06:12:39 +1000 Message-ID: <7B0CAF99-689D-4128-8E33-7D9BA8F1823E@gmail.com> References: <9793F9E3-979A-4888-8662-F6E0C27C8B37@gmail.com> <20160608195552.GA66865@breton.holly.idiocy.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 1465416780 4769 80.91.229.3 (8 Jun 2016 20:13:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2016 20:13:00 +0000 (UTC) Cc: Anders Lindgren , Emacs-Devel devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 08 22:12:59 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 1bAjqV-0007mS-0n for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2016 22:12:59 +0200 Original-Received: from localhost ([::1]:59290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAjqU-0003vP-3M for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2016 16:12:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAjqO-0003v6-CV for emacs-devel@gnu.org; Wed, 08 Jun 2016 16:12:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAjqI-0000mb-BM for emacs-devel@gnu.org; Wed, 08 Jun 2016 16:12:51 -0400 Original-Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:33785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAjqI-0000mX-5G for emacs-devel@gnu.org; Wed, 08 Jun 2016 16:12:46 -0400 Original-Received: by mail-pf0-x232.google.com with SMTP id y124so5705592pfy.0 for ; Wed, 08 Jun 2016 13:12:46 -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=9VLopYxw7lALnFm2iGCwEssaIEITUhIka0bBay/YvGg=; b=WQzghpiEIKpd7z8/kG2SHUtXCRjVSjsiaTZdzaQaysb4mMoQWJJYA8OkzX6lcjkthz EcNeAzVGs4yUHwaA5k4dA+QKHst7hJGblFC2ikSShStscEYqRC2bjnT4zyC8Nh4FTVJN AjWGD2Jok7etvP80SlqDIZYKjukXPUhZN+vvRB5ua3u98BEdBIvQ2Sazan4SQdF1MPks 1MVxs5i8WWl4c46f7izP0F5EpKDoPp2j2HJZoi2dvzsXiJ9VWhtoHPpxQw9oRPGQkbGy XpB+D5zjx+O/lBHtGoxtKOjiM+V7XVDl4ozd/ISfPsgd27Ygwc1P3DJ3Q5tazoTT9uGB oJdg== 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=9VLopYxw7lALnFm2iGCwEssaIEITUhIka0bBay/YvGg=; b=L+0QO64kXe7JAUqNavjkYJtIGRoYYeGGrAa25xLhBFYNlfBchZeYL4sXn6FvkH9yg5 51nHBCB/Pmj5b50NkBLZ8k4JNvsPq+yERRH+2DCTEzz80cjKGRf4dqqB+L+95oP9MUAU pKAGHolIkyTuNV5Ci5o6zl4HA/v3dyEe4iR7moAbDWFtE9PxwWTklrviUPZ7L+wahq76 uNh02PpXkxcKToa/NiqDYTTPBB9lWX2Srbn4now07CDobTK7GBybcom8zw2WufPpXUJ5 ydKEac1gLf/MUIDCBfRyrWkP1z7id0fqkGrseMRasv3KW9lAa5/7yDORXwDoKQ+2fRFY eaow== X-Gm-Message-State: ALyK8tI/0rYmPoj8HRfPkYGBgsupYpy2m6p++ipbn0IKvgOhb2r4iopePlCV3LKNQAaezA== X-Received: by 10.98.20.211 with SMTP id 202mr195020pfu.5.1465416765366; Wed, 08 Jun 2016 13:12:45 -0700 (PDT) Original-Received: from [10.1.1.14] (203-206-29-127.dyn.iinet.net.au. [203.206.29.127]) by smtp.gmail.com with ESMTPSA id 132sm4348035pfc.52.2016.06.08.13.12.42 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 13:12:43 -0700 (PDT) In-Reply-To: <20160608195552.GA66865@breton.holly.idiocy.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:c00::232 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:204242 Archived-At: On Jun 9, 2016, at 5:55 AM, Alan Third wrote: > Does the Aquamacs toolbar use different images or something, or is it > identical to the GNU Emacs one? No it uses different images and provides a different set of commands. The offending item seems to be revert-buffer. Indeed, if in disabled = state, updates go on and on. As soon as you modify the buffer, it=E2=80=99= s enabled, and updates stop. Here=E2=80=99s the entry from = tool-bar-map: (revert-buffer menu-item "Revert Buffer" revert-buffer :enable (or (not (eq revert-buffer-function 'revert-buffer--default)) (not (eq revert-buffer-insert-file-contents-function = 'revert-buffer-insert-file-contents--default-function)) (and buffer-file-number (or (and buffer-file-name (file-remote-p buffer-file-name)) (buffer-modified-p) (not (verify-visited-file-modtime (current-buffer)))))) :help "Re-read current buffer from its file" :image (image :type png :file = "/Users/dr/emacs/nextstep/Aquamacs.app/Contents/Resources/etc/images/updat= e.tiff" :background "grey" :mask heuristic) :label "Revert")