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 11:03:48 +1000 Message-ID: References: <9793F9E3-979A-4888-8662-F6E0C27C8B37@gmail.com> <20160608195552.GA66865@breton.holly.idiocy.org> <7B0CAF99-689D-4128-8E33-7D9BA8F1823E@gmail.com> 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 1465434281 5558 80.91.229.3 (9 Jun 2016 01:04:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 01:04:41 +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 Thu Jun 09 03:04:36 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 1bAoOh-00063F-Hc for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 03:04:35 +0200 Original-Received: from localhost ([::1]:60142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAoOg-00070s-Fz for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2016 21:04:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAoO8-0006zk-Gv for emacs-devel@gnu.org; Wed, 08 Jun 2016 21:04:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAoO5-0008Us-AM for emacs-devel@gnu.org; Wed, 08 Jun 2016 21:04:00 -0400 Original-Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:35785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAoO5-0008Uo-47 for emacs-devel@gnu.org; Wed, 08 Jun 2016 21:03:57 -0400 Original-Received: by mail-pa0-x232.google.com with SMTP id hl6so7382618pac.2 for ; Wed, 08 Jun 2016 18:03:56 -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=U5xOjRfhQSNwGx0OygnqzWNjgbzcyp4ha1qUnsRvFFM=; b=Oaat8u5/8+kfjSbn+7w7H72Vbz30gUhELLVriP1fzGhSTlCv8Vqhc3/XN+50b/A0hJ CAEmtTWHp4kqyKllykp99bSSkCuRcTsRghTlQfiUy9MmnRK4pPW+a/UHNda+DTVfdWbq wAEXHMPVMvIE1fEdrXrGUQkeV+mB1HDrUaYymqMtclMDU7IOme5CZyHDIu8e0LmbbNWo WpQElTIrDPPJoJNgLNqeamWnlDIiZ9TVwM4KX9lrceLk5enIlZ0G+Fk1bC+tdC65pz69 FM2P4WE/yx2L8f6eWnXRyS8jq0dTgzitpibbfb1qhVChgIkaYHERuiHJXvDkOfkR+E8v uc8Q== 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=U5xOjRfhQSNwGx0OygnqzWNjgbzcyp4ha1qUnsRvFFM=; b=fK5pzsnfFBIJuybkfFkCkyZfqZArAYsqmtFgiiw6Y7SMosVQy68Slj+6Pc15P6bznn OnLsCoeUhKuG+wnywROaE+m0lUHvzP8cAO1A7Yxy0vS8RnlDhJw96Di61cYf299BGSDT Z2s80fPr96mNTNOwXdsLm3/y4QUbuxxEO0BijiIkxrbyKqgHHPQw8F7wZVjXcGBbf5Ff A5b+ymd1UZhal3Rczo6n0/+F3vKSnZ3/jyQM3r1gV4K9npZCH4o/thuZdTU0e773yKEp qBY9b10oDsBVqy3l3utdsRmx/HyHgPc3p6wrOX8tpvBHZGA5Zg3VjaAV2opifhlSw6ZG GXEw== X-Gm-Message-State: ALyK8tLyPsLuJET6CWVOaCwvad+4hDRvZ41aCXhqLraH9zxqC+DXwfqlU+c45Bspk5VJhA== X-Received: by 10.66.123.69 with SMTP id ly5mr8960874pab.57.1465434236185; Wed, 08 Jun 2016 18:03:56 -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 p1sm5153570paz.8.2016.06.08.18.03.52 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Jun 2016 18:03:54 -0700 (PDT) In-Reply-To: <7B0CAF99-689D-4128-8E33-7D9BA8F1823E@gmail.com> 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::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:204244 Archived-At: On Jun 9, 2016, at 6:12 AM, David Reitter = wrote: > 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: Further to that, it appears that (verify-visited-file-modtime = (current-buffer)) is what causes the redisplay of the toolbar (and = more). I can manually cause a call to update_frame_tool_bar by evaluating this = expression. I don=E2=80=99t have time to look further right now, but = the call to Ffind_file_name_handler is a suspect. See also below. file-name-handler-alist is a variable defined in =E2=80=98fileio.c=E2=80=99= . Its value is (("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler) = ("\\(?:\\.dz\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|\\.g?z\\|\\.\\(?:tgz\\|s= vgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|\\.~[-[:alnum:]:#@^._]= +\\(?:~[[:digit:]]+\\)?~\\)?\\'" . jka-compr-handler) ("\\`/[^/]*\\'" . tramp-completion-file-name-handler) ("\\`/[^/|:][^/|]*:" . tramp-autoload-file-name-handler) ("\\`/:" . file-name-non-special))