From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.help Subject: typing slows down dramatically when typing digits in emails Date: Wed, 21 Dec 2022 13:53:11 +0000 Organization: On the Interweb somewhere Message-ID: <874jtouam0.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5440"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: gnus (Emacs 30.0.50) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:Ti14Ey+2QO1F8hjoWUn79NcPKjU= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 21 14:54:09 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1p7zXt-0001Ck-Hd for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 21 Dec 2022 14:54:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7zXD-0006H6-7G; Wed, 21 Dec 2022 08:53:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7zX7-0006Gd-4M for help-gnu-emacs@gnu.org; Wed, 21 Dec 2022 08:53:23 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7zX5-0004mP-DY for help-gnu-emacs@gnu.org; Wed, 21 Dec 2022 08:53:20 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p7zX3-000Ad6-Kn for help-gnu-emacs@gnu.org; Wed, 21 Dec 2022 14:53:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-Url: http://www.ucl.ac.uk/~ucecesf/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_PCNT=2.499 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141892 Archived-At: Hello, When composing an email in message mode in Emacs, completion works just fine except when I type any digits (0-9) where there is an appreciable lag. Using the profiler, I get the following summary: --8<---------------cut here---------------start------------->8--- 5482 82% - ... 5311 79% - completion--capf-wrapper 5311 79% - apply 5311 79% - corfu--capf-wrapper-advice 5311 79% - corfu--capf-wrapper 5311 79% - completion-try-completion 5311 79% - completion--nth-completion 5311 79% - completion--some 5311 79% - # 5311 79% - orderless-try-completion 5311 79% - orderless-filter 5311 79% - orderless--prefix+pattern 5311 79% - completion-boundaries 5311 79% - # 5311 79% - complete-with-action 5311 79% - # 4776 71% - cape--dabbrev-list 4776 71% - dabbrev--find-all-expansions 4704 70% - dabbrev--find-expansion 4671 70% - dabbrev--try-find 2959 44% - dabbrev--search 36 0% - dabbrev--goto-start-of-abbrev 28 0% # 4 0% # 4 0% + internal--syntax-propertize 9 0% + dabbrev--make-friend-buffer-list --8<---------------cut here---------------end--------------->8--- It comes down to dabbrev... maybe. Is there any setting that I might have missed that would improve this? I am supposedly using company mode, by the way, I think (at least, I have company indicated in my mode line) and completion candidates only popup after 5 keystrokes yet lag takes place as soon as I type a single digit. Thank you, eric -- Eric S Fraga via gnus (Emacs 30.0.50 2022-12-21) on Debian 11.5