From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: typing slows down dramatically when typing digits in emails
Date: Wed, 21 Dec 2022 13:53:11 +0000 [thread overview]
Message-ID: <874jtouam0.fsf@ucl.ac.uk> (raw)
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% - #<compiled -0x187b0d97893b0bbf>
5311 79% - orderless-try-completion
5311 79% - orderless-filter
5311 79% - orderless--prefix+pattern
5311 79% - completion-boundaries
5311 79% - #<compiled 0x1f4100e4f6213ad7>
5311 79% - complete-with-action
5311 79% - #<compiled 0xfe6876f217f45e4>
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% #<compiled 0xae9961fbf742f>
4 0% #<compiled 0xae9967326d42f>
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
next reply other threads:[~2022-12-21 13:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 13:53 Eric S Fraga [this message]
2022-12-22 4:09 ` typing slows down dramatically when typing digits in emails Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-22 4:34 ` Emanuel Berg
2022-12-22 4:45 ` always latest Emacs (was: Re: typing slows down dramatically when typing digits in emails) Emanuel Berg
2022-12-22 10:22 ` typing slows down dramatically when typing digits in emails Eric S Fraga
2022-12-22 21:29 ` cape and boundaries (was: typing slows down dramatically when typing digits in emails) Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-23 12:14 ` cape and boundaries Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874jtouam0.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).