From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Georges Ko Newsgroups: gmane.emacs.bugs Subject: bug#24634: 25.1 on Windows (native and cygwin+w32): high CPU load with "wavy" characters Date: Sat, 08 Oct 2016 10:59:06 +0800 Organization: gko.net Message-ID: References: <83zimginxd.fsf@gnu.org> <83ponchti3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1475895707 23305 195.159.176.226 (8 Oct 2016 03:01:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2016 03:01:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (cygwin) Hamster/2.0.0.1 To: 24634@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 08 05:01:43 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bshsx-0002UK-Dx for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Oct 2016 05:01:15 +0200 Original-Received: from localhost ([::1]:39100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshsw-00057p-1c for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Oct 2016 23:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshso-00057k-29 for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bshsk-0007zr-Hc for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:01:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshsk-0007zl-Dy for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bshsk-0007Y4-7e for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:01:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Georges Ko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2016 03:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24634 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147589564828988 (code B ref -1); Sat, 08 Oct 2016 03:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Oct 2016 03:00:48 +0000 Original-Received: from localhost ([127.0.0.1]:48161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bshsW-0007XU-03 for submit@debbugs.gnu.org; Fri, 07 Oct 2016 23:00:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bshsT-0007XH-DW for submit@debbugs.gnu.org; Fri, 07 Oct 2016 23:00:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bshsN-0007hp-3U for submit@debbugs.gnu.org; Fri, 07 Oct 2016 23:00:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshsN-0007hC-0C for submit@debbugs.gnu.org; Fri, 07 Oct 2016 23:00:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshsK-00056D-PI for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:00:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bshsG-0007ep-Iq for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:00:35 -0400 Original-Received: from [195.159.176.226] (port=52817 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bshsG-0007dA-Bw for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2016 23:00:32 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bshrr-0002Ry-Bx for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2016 05:00:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:qyweKM773TXOc8upKqggXLF/jZY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:124185 Archived-At: Eli Zaretskii writes: >> > What font(s) is/are used on your system to display these characters? >> >> I did some tests with "runemacs -Q", with the following results as an >> org-mode buffer. >> >> I can mitigate the problem by using language environment "English" and >> font "MingLiu-SIZE" (2nd step), the worst case being language >> environment "UTF-8" and font "Courier NEw-SIZE" (3rd step). > > So Symbola and Courier New don't cause slowdown, while MingLiu does? > > Do you have some custom fontset setup, or does Emacs use MingLiu for > the WAVY LOW LINE by default, in "emacs -Q"? Emacs uses MingLiu in "emacs -Q" on my system. In "Initial setup" I just do "emacs -Q" and insert these characters and see the fonts used to display ASCII characters (1st line), WAVY LINE (2nd line) and WAVY LOW LINE (3rd character), which are: - ASCII -O-Courier New-NNN-mono-13-*-*-*-c-*-iso8859-1 - WAVY LINE -O-Symbola-NNN-serif-13-*-*-*-p-*-iso8859-1 - WAVY LOW LINE -O-MingLiU-NNN-mono-13-*-*-*-c-*-iso10646-1 and WAVY LINE (Symbola) is OK (no slowdown) and WAVY LOW LINE (MingLiu) is NOK (slowdown). After switching to "MingLiu-10" with (set-frame-font "MingLiu-10), everything is smooth and using all use MingLiu-10 (2nd row of table): - ASCII, WAVY LINE -O-MingLiU-NNN-mono-13-*-*-*-c-*-iso8859-1 - WAVY LOW LINE -O-MingLiU-NNN-mono-13-*-*-*-c-*-gb2312.1980-0 > (But the way, setting language environment to UTF-8 on Windows is not > a good idea, it will cause you trouble unless you make further > customizations to countermand that.) OK, let's narrow the scope and not consider UTF-8 cases (rows 3 and 4). Georges -- Georges Ko gko@gko.net 2016-10-08