help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

typing slows down dramatically when typing digits in emails


From: Eric S Fraga
Subject: typing slows down dramatically when typing digits in emails
Date: Wed, 21 Dec 2022 13:53:11 +0000
User-agent: gnus (Emacs 30.0.50)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]