From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23967: 25.1.50; Slow compilation of ns-win.el Date: Fri, 15 Jul 2016 10:21:53 +0300 Message-ID: <83k2gn74dq.fsf@gnu.org> References: <83bn21a8q2.fsf@gnu.org> <83inw88e3k.fsf@gnu.org> <87poqfega9.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1468567443 11912 80.91.229.3 (15 Jul 2016 07:24:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2016 07:24:03 +0000 (UTC) Cc: larsi@gnus.org, 23967@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 09:23:53 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bNxTP-0003K5-LK for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2016 09:23:47 +0200 Original-Received: from localhost ([::1]:58896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNxTP-0006yZ-3f for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2016 03:23:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNxSk-0005aG-BC for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2016 03:23:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNxSf-0001w6-Vx for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2016 03:23:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNxSf-0001w2-SY for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2016 03:23:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNxSf-0001ux-M2 for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2016 03:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2016 07:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23967 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23967-submit@debbugs.gnu.org id=B23967.14685673557323 (code B ref 23967); Fri, 15 Jul 2016 07:23:01 +0000 Original-Received: (at 23967) by debbugs.gnu.org; 15 Jul 2016 07:22:35 +0000 Original-Received: from localhost ([127.0.0.1]:51966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNxSC-0001tw-4P for submit@debbugs.gnu.org; Fri, 15 Jul 2016 03:22:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNxS7-0001tb-87 for 23967@debbugs.gnu.org; Fri, 15 Jul 2016 03:22:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNxRx-0001sS-HA for 23967@debbugs.gnu.org; Fri, 15 Jul 2016 03:22:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNxRl-0001p4-Ia; Fri, 15 Jul 2016 03:22:05 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2766 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNxRj-0005ve-K3; Fri, 15 Jul 2016 03:22:04 -0400 In-reply-to: <87poqfega9.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121109 Archived-At: > From: npostavs@users.sourceforge.net > Cc: 23967@debbugs.gnu.org, larsi@gnus.org > Date: Thu, 14 Jul 2016 23:22:54 -0400 > > > How about adding a test that uses the data in this file: > > > > http://www.unicode.org/Public/UNIDATA/NormalizationTest.txt > > > > ucs-normalize claims to have passed an old version of this, but I see > > no existing way of re-running that test, did I miss something? > > I don't see any evidence of an existing test. Right. > I stared writing a new one, and it's failing with the original > ucs-normalize.el (or I'm misunderstanding the requirements). If the failures are identical to the original ucs-normalize, let's for now just mark them as known failures, and look into them later. I don't want to delay this important change that speeds up the bootstrap due to problems unrelated to the change. > The first invariant to test is > > c2 == toNFC(c1) == toNFC(c2) == toNFC(c3) > > (cX is column X, columns numbered from 1). > > Line 15131 of NormalizationTest.txt has > # c1 c2 c3 > 1112E;1112E;11131 11127;1112E;11131 11127; # (◌𑄮; ◌𑄮; ◌𑄱◌𑄧; ◌𑄮; ◌𑄱◌𑄧; ) CHAKMA VOWEL SIGN O > > So I think toNFC(c3) == c2 is equivalent to > > (equal (ucs-normalize-NFC-string > (string #x11131 #x11127)) > (string #x1112E)) > > which gives nil. > > Lines 15131 to 15139 and 16149 to 16289 are failing. I will look into this later. Thanks for the footwork.