all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* typing slows down dramatically when typing digits in emails
@ 2022-12-21 13:53 Eric S Fraga
  2022-12-22  4:09 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2022-12-21 13:53 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-23 12:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-21 13:53 typing slows down dramatically when typing digits in emails Eric S Fraga
2022-12-22  4:09 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.