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 17:47:18 +0800 Message-ID: References: <837diqxty3.fsf@gnu.org> <8335texrxf.fsf@gnu.org> <83wnqqw69t.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="25654"; 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 11:57:02 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 1luXin-0006R1-MP for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 11:57:01 +0200 Original-Received: from localhost ([::1]:60510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luXim-0004We-KX for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Jun 2021 05:57:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luXZh-0006uW-2G for emacs-devel@gnu.org; Sat, 19 Jun 2021 05:47:37 -0400 Original-Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:44788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luXZd-0003Cl-Bk; Sat, 19 Jun 2021 05:47:36 -0400 Original-Received: by mail-lj1-x22b.google.com with SMTP id d2so17558794ljj.11; Sat, 19 Jun 2021 02:47:32 -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=ytF4oCtsQITqHP57jQg9nlLO6h2SUjR0405uNoDnafE=; b=SoGu66xxV8XU6q9bQHHPIwhSFOv3pXiWrqQ1EcjIzQfJWzpQZWASBhANlSyMpkiAr8 hZWcrum8sVJ2+ySQOJkmA+qZRx7wkwk5AtPwP0n2Dw0r2iosN0C5SKaYWIRT4KQvvQC/ QjR9PqYefhtkeILTPPRfEw+032I6w+SONj9GDETS71dKH9XwMQXPivn6j6ryHueu3iCv Zww2M/umoi2U08qvWf201Cn6JHXaXY/OWpCduf9cFqjMJHBN7DqMgfozYMk+wXvv91QX wk4JtxxNLZwgw6mf7O5+XkTCqcecj/5SH6mMOU6mVZxsUMVZY11W2xRzYAOHEcWNu4/m LMqw== 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=ytF4oCtsQITqHP57jQg9nlLO6h2SUjR0405uNoDnafE=; b=FsFbEs9XkuGn8K8ONMLAAcWBLvZIsDU0gs/a399aR/VJjuxryCR9T29j7AsvthApeL p07JR3oV0zyUYyu8Caz1Td1GtC1y3Zo++VnQuBYhv4Wa1hjjZb3ybc8q05CiqO4ntFpW kqjIylARYmAzEuxy5wPaqNsCfUuVQki4LCqQS3+5SCO9rwu0V7cEPMqI6fLa0poU0y33 R+NTSnOf8xvZ3abhQx4Q47jPTpAVbt3UUC3Av1PJIOczw7QNl6wE5YonwhaCkxjDTl6y YEv4ESqkkEZNeu3OeXU7eqcUa35MytkSSH7nI+8QNiristYV0PDnflKCZ9pQBGFaOkxo 6tBg== X-Gm-Message-State: AOAM533TbZsdlAtByLIooJyd6NmLgO8VlB4kQL0DBQOak4PYTLv6HZzN XinZWX8qfkjXOz8eRKiBa+FJbO3hkFEvibVBZhBfKjjMKwhcIzF8pbM= X-Google-Smtp-Source: ABdhPJy2ltXMONiJTMfr6LWVwEUl2pAK2gonYPn1C2VETWbi0QZZVHa5QymKhW1EazIK07jralO0HSJOkmXWnYu0qRc= X-Received: by 2002:a05:651c:504:: with SMTP id o4mr7182830ljp.13.1624096050057; Sat, 19 Jun 2021 02:47:30 -0700 (PDT) In-Reply-To: <83wnqqw69t.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x22b.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:270935 Archived-At: On Sat, Jun 19, 2021 at 5:30 PM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Sat, 19 Jun 2021 15:16:36 +0800 > > Cc: emacs-devel@gnu.org > > > > > > $ 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. > > "Presumably" means that you tried that, and the time it took was > approximately the same? Yes. > > > Another strange thing: the Emacs installed from apt repo doesn't have > > this problem. > > In "emacs -Q" or without the -Q switch? Either way, as shown below: $ /usr/bin/emacs $ /usr/bin/emacs -Q And both the following two commands completed instantly: M-x list-input-methods RET C-h h > If the former, what are the > differences between the two Emacs configurations, the slow one and the > fast one? If the latter, then the reason for the faster operation is > in the init files that you get with the "apt" distribution. HY -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China