GNU bug report logs - #18558
24.4.50; Debugger slow with long strings

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Thu, 25 Sep 2014 09:17:02 UTC

Severity: normal

Tags: fixed

Merged with 29463

Found in versions 24.4.50, 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 18558 <at> debbugs.gnu.org, eller.helmut <at> gmail.com
Subject: bug#18558: 24.4.50; Debugger slow with long strings
Date: Fri, 19 Feb 2016 11:03:41 +0200
> From: Marcin Borkowski <mbork <at> mbork.pl>
> Date: Fri, 19 Feb 2016 09:41:01 +0100
> Cc: 18558 <at> debbugs.gnu.org
> 
> On 2014-09-25, at 12:16, Helmut Eller <eller.helmut <at> gmail.com> wrote:
> 
> > Moving the cursor in the debugger window is very slow in the following
> > example:
> >
> > shell> cat test.el
> > (progn
> >   (defun foo (n string)
> >     (cond ((= n 0) (debug))
> >           (t (foo (1- n) string))))
> >   (foo 30 (make-string 500000 ?\\)))
> >
> > shell> emacs -Q -nw -l test.el
> >
> > Now move the cursor around to see the slowness.
> >
> > Maybe the debugger should truncate long strings as it does with long
> > lists.
> 
> Confirmed on GNU Emacs 25.1.50.2 (commit 4ccd268).
> 
> I would guess that the problem is not in long string /per se/, but with
> lon lines in the *Backtrace* buffer, i.e. probably something connected
> with the display engine.  I guess this bug should either be closed or
> merged with some other one (one of the other ones, perhaps) dealing with
> efficiency problems with long lines.

Yes, please merge it.

Thanks.




This bug report was last modified 5 years and 246 days ago.

Previous Next


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