GNU bug report logs -
#18558
24.4.50; Debugger slow with long strings
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18558 in the body.
You can then email your comments to 18558 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18558
; Package
emacs
.
(Thu, 25 Sep 2014 09:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Helmut Eller <eller.helmut <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 25 Sep 2014 09:17:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
In GNU Emacs 24.4.50.2 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
of 2014-09-08 on ix
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18558
; Package
emacs
.
(Fri, 19 Feb 2016 08:42:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 18558 <at> debbugs.gnu.org (full text, mbox):
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.
Best,
--
mbork
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18558
; Package
emacs
.
(Fri, 19 Feb 2016 09:05:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 18558 <at> debbugs.gnu.org (full text, mbox):
> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18558
; Package
emacs
.
(Fri, 19 Feb 2016 09:16:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 18558 <at> debbugs.gnu.org (full text, mbox):
On Fri, Feb 19 2016, Marcin Borkowski wrote:
> 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.
It seems very unlikely that the general "long-lines" problem of the
display engine will be fixed. In contrast, the debugger could be
changed to not generate long lines, e.g. by truncating long string like
it does for long/cyclic lists.
Helmut
Merged 18558 29463.
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Wed, 29 Nov 2017 01:49:03 GMT)
Full text and
rfc822 format available.
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 21 Sep 2019 08:21:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.1, send any further explanations to
29463 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 21 Sep 2019 08:21:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 19 Oct 2019 11:24:09 GMT)
Full text and
rfc822 format available.
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.