From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18558: 24.4.50; Debugger slow with long strings Date: Fri, 19 Feb 2016 11:03:41 +0200 Message-ID: <83povtrs0i.fsf@gnu.org> References: <87h9h5jdnm.fsf@mbork.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1455872722 14013 80.91.229.3 (19 Feb 2016 09:05:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2016 09:05:22 +0000 (UTC) Cc: eller.helmut@gmail.com, 18558@debbugs.gnu.org To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 10:05:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aWgzv-0005GR-Lc for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2016 10:05:11 +0100 Original-Received: from localhost ([::1]:50112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgzu-00014G-Ms for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2016 04:05:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgzr-00012n-9d for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 04:05:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWgzm-0000qO-Hq for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 04:05:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgzm-0000qK-E0 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 04:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWgzm-0000Xn-59 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 04:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2016 09:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18558 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18558-submit@debbugs.gnu.org id=B18558.14558726532025 (code B ref 18558); Fri, 19 Feb 2016 09:05:02 +0000 Original-Received: (at 18558) by debbugs.gnu.org; 19 Feb 2016 09:04:13 +0000 Original-Received: from localhost ([127.0.0.1]:33486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWgyz-0000Wa-Le for submit@debbugs.gnu.org; Fri, 19 Feb 2016 04:04:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54171) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWgyy-0000WO-QG for 18558@debbugs.gnu.org; Fri, 19 Feb 2016 04:04:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWgyo-0000ik-I8 for 18558@debbugs.gnu.org; Fri, 19 Feb 2016 04:04:07 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgyo-0000ig-FA; Fri, 19 Feb 2016 04:04:02 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2772 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aWgya-0005NL-IP; Fri, 19 Feb 2016 04:04:01 -0500 In-reply-to: <87h9h5jdnm.fsf@mbork.pl> (message from Marcin Borkowski on Fri, 19 Feb 2016 09:41:01 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113279 Archived-At: > From: Marcin Borkowski > Date: Fri, 19 Feb 2016 09:41:01 +0100 > Cc: 18558@debbugs.gnu.org > > On 2014-09-25, at 12:16, Helmut Eller 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.