From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.devel Subject: Re: Run `M-x list-input-methods` and then scroll down the screen in input method panel using the mouse or arrow key will cause Emacs unresponsive for about 1 minite. Date: Sat, 19 Jun 2021 15:16:36 +0800 Message-ID: References: <837diqxty3.fsf@gnu.org> <8335texrxf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35475"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 19 09:17:47 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1luVEh-00090h-6G for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 09:17:47 +0200 Original-Received: from localhost ([::1]:41760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luVEg-0002jD-8P for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 03:17:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luVDo-00022n-Ch for emacs-devel@gnu.org; Sat, 19 Jun 2021 03:16:52 -0400 Original-Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:47038) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luVDm-0004Ey-M9; Sat, 19 Jun 2021 03:16:52 -0400 Original-Received: by mail-lj1-x235.google.com with SMTP id b37so17148591ljr.13; Sat, 19 Jun 2021 00:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6S5hX+nCQssfLDUQVrbt5bPr3jO6r77Jp8FOGSfxO+g=; b=d4KniZOaRkET5nA1ewHw1pf1OYk2f68OhZhSyxSwyudumF25FKzBXse56DJmWgS4FC lTnqOs2lChxI3cjnDVnB1mw4rUmA4QskZ6PyeCe+cHyJt4ou3roAdpsBczExb88YfnN8 xEz150NO8Kb+owC3VCfi1u6Dn2dV/ciGjUdzTC70Vmpbdmsuc0bRKcWsLuMyny6YYC4z dKSg/0VtLP0i9q7ABcXhG7CRpO3KmFljPJXIqHY/2S9kMmCVPa5xbZUL+uaYDHPbZ3MO aQ+MpFyomT5SenclrNHoMDUW1ZHoQ9vOZA/QWKEAcYFgDDprL3jcWuYgJey9jECjejnN 5jSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6S5hX+nCQssfLDUQVrbt5bPr3jO6r77Jp8FOGSfxO+g=; b=EBnGJYW7PJQqQgfN4HtKhxJ/XMWpmwdsoqyCUotuTrlNe9mQpLiCapJSjDlJ2KkHuK GPFxDRaLi4GryOEgYOkCzvQ84qgpJS94OHueXQBj/C1B+v4cWjUP+8gG/x6WBgA7ndi1 6F8HrChco3LSvEW/IYA/NVGgJSY9gbQokkXW+p9dbBZdROki3DQ3X/u4hOJPNgwHkVC6 K7YVWaQXA4Axx8dMCkmbgm6UnaNXtG4s8npOjdDp+1JP9kGPc25qHCFJabdSnAcdHcH/ 5zTRISTkhOuLtwWE5r/UW/SOaQFcdfysWabCos0sPadka1I+/XbCEpP2UTn84GYhsINM qacg== X-Gm-Message-State: AOAM532u4LqOy5GWfVUZg0RlgK2HLw/OAAfWH3yVK9SnXf94U5xVlP8v jAbQZC8SXpDMO1kEv5ubf+25NzRVmmOct0LOKK0UQ50LMnNdXd4K X-Google-Smtp-Source: ABdhPJyLT64JfHLsHKdQyOF2AYy7DAJUbtYucwSUV3c7+kuhTsvFTApj3aTLLnVbv7Uu6mnBtYdM6B2JEtetshUbd0s= X-Received: by 2002:a2e:8688:: with SMTP id l8mr2574182lji.413.1624087007703; Sat, 19 Jun 2021 00:16:47 -0700 (PDT) In-Reply-To: <8335texrxf.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x235.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270930 Archived-At: On Sat, Jun 19, 2021 at 2:57 PM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Sat, 19 Jun 2021 14:39:46 +0800 > > > > > > Then run `M-x list-input-methods` and scroll down the screen in input > > > > method panel using the mouse or arrow key will cause Emacs > > > > unresponsive for about 1 minute. > > > > > > It isn't necessarily strange: Emacs looks for the fonts needed to > > > display the relevant characters, so if you have a lot of fonts > > > installed, and some character is not supported, it will take Emacs a > > > lot of time to scan all those fonts. > > > > Thank you for your analysis. That is really my situation. See below: > > > > $ fc-list |wc > > 10597 33360 1138340 > > If you invoke Emacs with "emacs -Q" and then type "C-h h", how long > does it take Emacs to display the HELLO file? It presumably takes the same duration as reported before in this issue. > And if you then scroll > down through the HELLO file, do you also see long delays at some > point? Seems not. Another strange thing: the Emacs installed from apt repo doesn't have this problem. Regards -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China