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 18:22:46 +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 1465461796 5262 80.91.229.3 (9 Jun 2016 08:43:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 08:43:16 +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 10:43:15 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 1bAvYX-0003om-BC for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 10:43:13 +0200 Original-Received: from localhost ([::1]:33151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAvYW-0007by-Ho for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 04:43:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAvF7-0006kw-Bh for emacs-devel@gnu.org; Thu, 09 Jun 2016 04:23:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAvF2-0005CF-Bb for emacs-devel@gnu.org; Thu, 09 Jun 2016 04:23:09 -0400 Original-Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:36383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAvF2-0005CA-5C for emacs-devel@gnu.org; Thu, 09 Jun 2016 04:23:04 -0400 Original-Received: by mail-pf0-x22b.google.com with SMTP id t190so11286335pfb.3 for ; Thu, 09 Jun 2016 01:23:02 -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=Ue1kDyNvSOimy/Kq2cQI+DP/xG3JddIe7F30fws7RIg=; b=y0Pk2c4mkFlg6u+BtPckQHBb0q5Gsso/eZU2zjI0uAcQCvW/B3fmuXrvmF8jxcshxW Wts3kErxClgpnFcXABD9oUEZs3olo9Pb7rmjob34PaZZ1Hw+A5uQMplOcBKEgSRCgS6R +EVUAAoubk5i+7sKn1DdzKeTerk0gny2rnrNLwTQvycpnng2BY+W1PAEako4vl9QDPoK /uK4YJnJ8po3StFI3Fnv80RvevDPUe6IHampb5tL290vXvPOvV0d3dhMpMEM2VlPEBxm RVctDUFlsf6xcSZ2ODY1I2jmh3vd2aPSUDntj1qHQq62IrcVXxztf6GGZLfmghmu+QpY zETw== 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=Ue1kDyNvSOimy/Kq2cQI+DP/xG3JddIe7F30fws7RIg=; b=lqksrOzMQOzl1vGeSYWXzj8KzJrT04SqD1Sn7vppkleeLaNn7itIkBQJsNQh5Irl99 HS/J7YjHsKbGAzNj14E52jfzq9dc1kBSmaUZgW+mOxcNUUZYTg3oQRXz6pF/btfP0Rme e6TDVpBVNDtqFAF7a9cK20jHE+j717fsbRforIn+NNR8yVsoUzo9Mx9D4SgyETvB9bcU Vndh2PoFflPIKVv9ELeVasH9qm2VOiW5GoCcCLMp2wgpsHKZM34aroyjw7XiWV2A2Fq5 hg51PiJwgIfhu959NMBIkP38dKBhd7D+/RIIsVzagz4iuYxTvZLsBVQiIcRWbuex7e11 0R5g== X-Gm-Message-State: ALyK8tKn+bZhB8+xD5+fwcDCcCthTdg53RR9Pl/IoXCtBg0JZVLfZl869LLXBZojPgMJKA== X-Received: by 10.98.41.133 with SMTP id p127mr3431519pfp.18.1465460581863; Thu, 09 Jun 2016 01:23:01 -0700 (PDT) Original-Received: from [10.1.1.8] ([58.104.91.134]) by smtp.gmail.com with ESMTPSA id et3sm7739093pad.48.2016.06.09.01.22.55 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jun 2016 01:23:00 -0700 (PDT) In-Reply-To: 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::22b 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:204245 Archived-At: On Jun 9, 2016, at 11:03 AM, David Reitter = wrote: > 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. So far, I have traced it to the use of ENCODE_FILE (encode_file_name) = in verify-visited-file-modtime: filename =3D ENCODE_FILE (BVAR (b, filename)); Now, file-name-coding-system is utf-8-hfs, and that setting is = associated with the error. Setting it to =E2=80=98utf-8 makes the bug = go away. What can trigger a redisplay or menu/toolbar update in = encode_file_name() for utf-8-hfs?