From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Redisplay: NS port, high CPU load Date: Mon, 13 Jun 2016 22:16:16 +0300 Message-ID: <837fdsgarj.fsf@gnu.org> 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> <83fuslpclx.fsf@gnu.org> <62E0B0C4-4D9B-4E1C-ACE5-06E674C8A342@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465845356 3553 80.91.229.3 (13 Jun 2016 19:15:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2016 19:15:56 +0000 (UTC) Cc: david.reitter@gmail.com, alan@idiocy.org, emacs-devel@gnu.org To: Anders Lindgren Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 21:15:51 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 1bCXKw-0002bR-7k for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2016 21:15:50 +0200 Original-Received: from localhost ([::1]:58815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCXKv-00012S-H1 for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2016 15:15:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCXKo-00012B-Rj for emacs-devel@gnu.org; Mon, 13 Jun 2016 15:15:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCXKj-0000oQ-Q0 for emacs-devel@gnu.org; Mon, 13 Jun 2016 15:15:41 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCXKj-0000oM-K2; Mon, 13 Jun 2016 15:15:37 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3924 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bCXKh-0003iL-Bd; Mon, 13 Jun 2016 15:15:37 -0400 In-reply-to: (message from Anders Lindgren on Mon, 13 Jun 2016 20:44:15 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:204342 Archived-At: > From: Anders Lindgren > Date: Mon, 13 Jun 2016 20:44:15 +0200 > Cc: Eli Zaretskii , Alan Third , emacs-devel > > Unfortunately, I can't reproduce this either, but I have a theory on what is going on. David said that it didn't happen in "emacs -Q", but did happen in his normal setup, and AFAIU intended to come up with a recipe. > When it comes to the HFS coding rewrite, I still think it is valid. The documentation of `define-coding-system' > indicated that it expects the pre-write function to convert the current buffer and that the two parameters are > only there for backward compatibility. The function, before the rewrite, was clearly written for an older version > of `define-coding-system'. That's not the issue. The issue is what change(s) to install on the release branch. We've lived with the current form of the utf-8-hfs's pre-write conversion for a long time, so if it is not the root cause behind the CPU load, I'd like to leave it alone on the release branch, and fix the real problem instead.