From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25122: 24.5; function describe-variable hangs on large variables Date: Sat, 11 Mar 2017 16:59:05 -0500 Message-ID: <871su38ogm.fsf@users.sourceforge.net> References: <20161206022112.GF25778@E15-2016.optimum.net> <87twahk19y.fsf@gmail.com> <87d1h4fld5.fsf@users.sourceforge.net> <871sxkyv2m.fsf@gmail.com> <87mvcs8j7w.fsf@users.sourceforge.net> <87lgsbtxwe.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489269492 24521 195.159.176.226 (11 Mar 2017 21:58:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2017 21:58:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25122@debbugs.gnu.org, Stefan Monnier , Boruch Baum To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 11 22:58:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmp1a-0005j4-KF for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Mar 2017 22:58:06 +0100 Original-Received: from localhost ([::1]:44816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmp1g-0001Wh-Mo for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Mar 2017 16:58:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmp1Z-0001WP-SC for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 16:58:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmp1W-0004t7-Pt for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 16:58:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53594) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmp1W-0004sj-LQ for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 16:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cmp1W-0000lD-EF for bug-gnu-emacs@gnu.org; Sat, 11 Mar 2017 16:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Mar 2017 21:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25122 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25122-submit@debbugs.gnu.org id=B25122.14892694762911 (code B ref 25122); Sat, 11 Mar 2017 21:58:02 +0000 Original-Received: (at 25122) by debbugs.gnu.org; 11 Mar 2017 21:57:56 +0000 Original-Received: from localhost ([127.0.0.1]:51793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmp1Q-0000kt-7P for submit@debbugs.gnu.org; Sat, 11 Mar 2017 16:57:56 -0500 Original-Received: from mail-it0-f67.google.com ([209.85.214.67]:36378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmp1O-0000ke-1x for 25122@debbugs.gnu.org; Sat, 11 Mar 2017 16:57:54 -0500 Original-Received: by mail-it0-f67.google.com with SMTP id w185so2729326ita.3 for <25122@debbugs.gnu.org>; Sat, 11 Mar 2017 13:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tKFY5zV+59n+FPwxaFOgKI1/iCId/1ArjQZ2KQH6M0U=; b=SyhvE5iEAIvXOPs3iRe+o4eNLsyg8hGIGuyWPK+tJnXGtNSbFvZVqA1Re12dZipfmX jgJZpGnrp4r0d6rG03L05HdFbAUmIuDbzDb4rv/YV6RvvgU6+4xYVtbQjuAxzlbx0L4K DRkJlSgHuFNsSeAP0lQSF8CH0k+kjTolH38wBMEdL7GUGPlmYSL8FIOmUa3IoiZ2CuNe W8SrtAD5poKodhCpnsnOU3syd6lT72UQYpVvJH83B2XDoH9MbxKniiyv1eWXxdJHLnsQ GDZb1GeZcpaEI6f1Z9MFJjoees7CFXX7f/Dd9Zamo6VbCoJjzasrupSRVraBBkQH0HFJ Qnjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=tKFY5zV+59n+FPwxaFOgKI1/iCId/1ArjQZ2KQH6M0U=; b=KaeI0B7aSFEjcBPCex0yi0q0YhOiWyom+v5JjgICESpqUvGC0o9SxRdrXcQ/rWG/Bk fvbGvRhqFupuUG/HL4H8ABLUurn7i/q7E182tXxr8yqLAw/6x67yi3VutKb2xYXxgkwt Y+xPZDqFiyNACvZF8zbN18zb0iAiTUxBVKGQyuQJNIpJ3e9kHslxf0Qbvz1HgCIvhv8A flvKUlS9yRwVoJFq9CzaPjdeE2RKtau359uvhufdnDDEOH06m7xWrHhVPANYX42w8YHX /tE8GBVylREVUhptUxH1ERN1v5rYYeBdaDG3S0pzCYWZ15Sx49N3W3Ltw6E24Wpo8g+8 XLCw== X-Gm-Message-State: AFeK/H2SUHRvNps70g4U6SObpZYQ87g8QzThO1+ifoOgCtxEpNxJDKqDtxVRuMAkCeyADg== X-Received: by 10.36.204.136 with SMTP id x130mr4971406itf.93.1489269468367; Sat, 11 Mar 2017 13:57:48 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id e4sm6201782ioe.7.2017.03.11.13.57.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 Mar 2017 13:57:47 -0800 (PST) In-Reply-To: <87lgsbtxwe.fsf@gmail.com> (Thierry Volpiatto's message of "Sat, 11 Mar 2017 20:29:37 +0100") 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" Xref: news.gmane.org gmane.emacs.bugs:130500 Archived-At: Thierry Volpiatto writes: > Stefan Monnier writes: > >> I think the better way out is to do less work. E.g. bound the total >> amount printed (and replace the rest with "..." that can be expanded on >> demand). Yes, there's no method that will achieve "instant" speeds for load-history sized lists (well except for plain prin1, but that output is hardly readable). > The problem will be here again when you hit RET on "..." Perhaps we could run the printing in a thread and suspend it after printing X lines. Then hitting RET on "..." would just print another X lines.