all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sean Whitton <spwhitton@spwhitton.name>
Cc: 72826@debbugs.gnu.org
Subject: bug#72826: 30.0.90; icomplete-in-buffer becomes unusably slow in large Eshell
Date: Tue, 27 Aug 2024 15:43:28 +0300	[thread overview]
Message-ID: <86r0aai1an.fsf@gnu.org> (raw)
In-Reply-To: <87seuqjuk4.fsf@melete.silentflame.com> (message from Sean Whitton on Tue, 27 Aug 2024 15:26:03 +0800)

> From: Sean Whitton <spwhitton@spwhitton.name>
> Date: Tue, 27 Aug 2024 15:26:03 +0800
> 
> Hello,
> 
> 1. emacs -q
> 2. (setopt icomplete-in-buffer t)
> 3. M-x icomplete-mode
> 4. M-x eshell
> 5. cat very_large_file.txt # I'm using an 80k line log file
> 6. ls <TAB>
> 7. Try to use C-, and C-. to cycle through the completions.
>   => Emacs basically locks up.
> 
> The buffer being large should surely not affect icomplete-in-buffer in
> this way.  It shouldn't need to care about all the rest of the buffer.

Strangely enough, I can only reproduce this on GNU/Linux, but not on
MS-Windows.

Profiling seems to indicate most of the time is spent in
completion-all-sorted-completions and in GC.





      reply	other threads:[~2024-08-27 12:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27  7:26 bug#72826: 30.0.90; icomplete-in-buffer becomes unusably slow in large Eshell Sean Whitton
2024-08-27 12:43 ` Eli Zaretskii [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r0aai1an.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=72826@debbugs.gnu.org \
    --cc=spwhitton@spwhitton.name \
    /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.
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.