From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Laws Newsgroups: gmane.emacs.bugs Subject: bug#28795: 25.2; UTF-8 language environment causes extreme sluggishness Date: Thu, 12 Oct 2017 19:31:57 +0900 Message-ID: References: <86376oiv5i.fsf@60hz.org> <83infkn251.fsf@gnu.org> <83h8v4n0so.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507804399 25163 195.159.176.226 (12 Oct 2017 10:33:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 10:33:19 +0000 (UTC) Cc: 28795@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 12:33:15 2017 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 1e2anb-00052G-PM for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 12:33:07 +0200 Original-Received: from localhost ([::1]:44691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2anj-0004sT-23 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 06:33:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2anc-0004sO-KK for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 06:33:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2anW-0004lV-O1 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 06:33:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54458) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2anW-0004lB-LS for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 06:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2anW-00010p-4a for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 06:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Laws Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 10:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28795-submit@debbugs.gnu.org id=B28795.15078043273817 (code B ref 28795); Thu, 12 Oct 2017 10:33:02 +0000 Original-Received: (at 28795) by debbugs.gnu.org; 12 Oct 2017 10:32:07 +0000 Original-Received: from localhost ([127.0.0.1]:34906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2amc-0000zV-Sp for submit@debbugs.gnu.org; Thu, 12 Oct 2017 06:32:07 -0400 Original-Received: from mail-qk0-f171.google.com ([209.85.220.171]:48007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2amZ-0000yy-BM for 28795@debbugs.gnu.org; Thu, 12 Oct 2017 06:32:05 -0400 Original-Received: by mail-qk0-f171.google.com with SMTP id m189so711390qke.4 for <28795@debbugs.gnu.org>; Thu, 12 Oct 2017 03:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=60hz-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=py+g50/TjLnmuc4jQMJWikRvswKxaDQpQoS5wEUlzgQ=; b=MkC+tCkDhYvxI/3GeznYMF0vmigNt4Tj7UjEnxEoxs5o1/DqZu6onZqt/8DQJXil2E vMOyBeMc2CK8tIZE/4AehkUzQv7rzp6hQwPxWhZGvnxFE+JYBWShaDr/BUNgL/3t7Bsf 48+cs1FsIha0sfXofAoqEkJGMEm65dlb5ANNpf5Q+BYxvCatKhPLY7/skZ9oR9mFU0S6 o/xe1/2MaGLGSQz8opYCI6r79Xks1Z4YsKZzOSj8dgQX6eNli+xrGlZH2NdjNR+OplbU Vj7I0Vjhphl/210kDytzvat/t8Pdt+HfOvfFcz5S+QZuDzHV9UNlzD8zyZaY9ORex1yX V8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=py+g50/TjLnmuc4jQMJWikRvswKxaDQpQoS5wEUlzgQ=; b=N3/3p7WxyBzIlzF9D5YkDaVrgzCD1BxP65oRM6CVaQgMvr8GwoCxh52TjgYuRTkb/2 EbtFc/E5KZ3vI52adx46QK9SFQaKjOjjH8txH+9y/bkLiQc0R19VQzvntfCvaj6ELMCf +QW/hg7Hp7F6DfPr9uhyPNgAhXmf9IFUDDyIUBw6/Q0Y50SWkPIb8BcNUAcg1czWTY7B gWmj4FWsWPmHa4z6qv6evP3bvd+ml97hxzxkV2tlWGU9IHCnk5J3OXsh6DltRdwYEBDa y1P1s1upViGyCNPMZUN+nXKsXPZCcq4QK61gmfn53VsEWLcV2apjz744bWzG+NAG+Wc1 mVsg== X-Gm-Message-State: AMCzsaVYNCe8Kefv+j/Ah0DseYZvHjB0+CQSruUfewxOOJEc5yDXhqx2 2H/IcClMfX6ktgEVm2PY4266aivU63mQsOY1787FsQ== X-Google-Smtp-Source: ABhQp+T9TQJ8ywUM5sJEAkj/9snU1NwVVdELNLz3H0dE7VbJpEk/5NMeknHVpKlQOKBqo+/eETw9RZ1Skgu47CS/bxI= X-Received: by 10.233.237.193 with SMTP id c184mr2405981qkg.265.1507804317942; Thu, 12 Oct 2017 03:31:57 -0700 (PDT) Original-Received: by 10.12.216.163 with HTTP; Thu, 12 Oct 2017 03:31:57 -0700 (PDT) X-Originating-IP: [133.232.243.52] In-Reply-To: <83h8v4n0so.fsf@gnu.org> 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:138259 Archived-At: On Thu, Oct 12, 2017 at 7:00 PM, Eli Zaretskii wrote: > [Please keep the bug address on the CC list.] Sorry, mashed the wrong key. > And which font is used if you don't set your language-environment to > UTF-8? uniscribe:-outline-Malgun Gothic-bold-normal-normal-sans-15-*-*-*-p-*-ksc5601.1987-0 (#xF7) >> > As another thing to try, set inhibit-compacting-font-caches to a >> > non-nil value, and see if that helps. >> >> This seems to help > > By "this" do you mean installing Symbola or setting > inhibit-compacting-font-caches non-nil? (setq inhibit-compacting-font-caches t) seems to help. I did not try Symbola. >> though the fact it only happens due to changes with encoding and/or >> font locking makes me suspicious. > > It could be that the default language-environment causes a different > font to be used for that character. If I use (prefer-coding-system 'utf-8), I do not get the slowness anymore, even if inhibit-compacting-font-caches is nil, and even after propertizing the text. However, the font changes from PragmataPro Mono to Malgun Gothic, which seems odd too. if I use both (set-locale-environment "English") and (prefer-coding-system 'utf-8), the issue returns. -- |v\ /\ |\ |< |_ /\ \^| //