GNU bug report logs - #29889
27.0.50; Slow visual selection

Previous Next

Package: emacs;

Reported by: Sujith <m.sujith <at> gmail.com>

Date: Fri, 29 Dec 2017 03:54:01 UTC

Severity: normal

Found in version 27.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sujith <m.sujith <at> gmail.com>
Cc: 29889 <at> debbugs.gnu.org
Subject: bug#29889: 27.0.50; Slow visual selection
Date: Sun, 31 Dec 2017 17:37:52 +0200
> From: Sujith <m.sujith <at> gmail.com>
> Cc: 29889 <at> debbugs.gnu.org
> Date: Sun, 31 Dec 2017 14:12:23 +0530
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> > Since mark_object appears high in the profile, could you please
> > rerun the experiment after setting gc-cons-threshold and
> > gc-cons-percentage so as to avoid GC for the time of the expdriment?
> 
> After doing (setq gc-cons-threshold 1000000000), the issue doesn't
> seem to happen. The cursor moved around freely except for one
> interruption - maybe the GC kicked in then.

Oh, you are right: if I set garbage-collection-messages non-nil, I see
a GC message each time I move the cursor.

So I guess my original theory was probably wrong, and the actual
suspect is some code, yet to be discovered, that conses such large
amounts of Lisp data.  I will look into it if no one beats me to it.

Thanks!




This bug report was last modified 2 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.