all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#72826: 30.0.90; icomplete-in-buffer becomes unusably slow in large Eshell
@ 2024-08-27  7:26 Sean Whitton
  2024-08-27 12:43 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Sean Whitton @ 2024-08-27  7:26 UTC (permalink / raw)
  To: 72826

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.

-- 
Sean Whitton





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

* bug#72826: 30.0.90; icomplete-in-buffer becomes unusably slow in large Eshell
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-08-27 12:43 UTC (permalink / raw)
  To: Sean Whitton; +Cc: 72826

> 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.





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

end of thread, other threads:[~2024-08-27 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.