From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#18558: 24.4.50; Debugger slow with long strings Date: Fri, 19 Feb 2016 09:41:01 +0100 Message-ID: <87h9h5jdnm.fsf@mbork.pl> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455871341 24132 80.91.229.3 (19 Feb 2016 08:42:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2016 08:42:21 +0000 (UTC) Cc: 18558@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 09:42:11 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 1aWgde-0005HQ-Fk for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2016 09:42:10 +0100 Original-Received: from localhost ([::1]:49908 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgdd-0002hZ-Pk for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2016 03:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgda-0002eG-M7 for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 03:42:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWgdW-0003yb-Ov for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 03:42:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWgdW-0003yX-LN for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 03:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aWgdW-0008Qe-ES for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2016 03:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2016 08:42: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.145587126632325 (code B ref 18558); Fri, 19 Feb 2016 08:42:02 +0000 Original-Received: (at 18558) by debbugs.gnu.org; 19 Feb 2016 08:41:06 +0000 Original-Received: from localhost ([127.0.0.1]:33463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWgcb-0008PJ-Rr for submit@debbugs.gnu.org; Fri, 19 Feb 2016 03:41:06 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:34987) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWgca-0008PB-Sp for 18558@debbugs.gnu.org; Fri, 19 Feb 2016 03:41:05 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 3509A9D2005; Fri, 19 Feb 2016 09:41:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QHn87LSfuhTi; Fri, 19 Feb 2016 09:41:02 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id E92109D2004; Fri, 19 Feb 2016 09:41:01 +0100 (CET) In-Reply-To: (Helmut Eller's message of "Thu, 25 Sep 2014 11:16:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:113276 Archived-At: 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. Best, -- mbork