From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Lazy printing in tabulated-list-mode Date: Thu, 30 Apr 2015 17:11:44 +0100 Message-ID: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1430410332 10684 80.91.229.3 (30 Apr 2015 16:12:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 16:12:12 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 30 18:12:07 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Ynr4D-0008Co-GC for ged-emacs-devel@m.gmane.org; Thu, 30 Apr 2015 18:12:01 +0200 Original-Received: from localhost ([::1]:44875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynr4C-0000gK-Nj for ged-emacs-devel@m.gmane.org; Thu, 30 Apr 2015 12:12:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynr3z-0000gC-OZ for emacs-devel@gnu.org; Thu, 30 Apr 2015 12:11:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynr3x-0000Md-71 for emacs-devel@gnu.org; Thu, 30 Apr 2015 12:11:47 -0400 Original-Received: from mail-la0-x236.google.com ([2a00:1450:4010:c03::236]:34171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynr3w-0000MT-VJ for emacs-devel@gnu.org; Thu, 30 Apr 2015 12:11:45 -0400 Original-Received: by laat2 with SMTP id t2so48121643laa.1 for ; Thu, 30 Apr 2015 09:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to :content-type; bh=d/2dZDWoRuJsaoXZIcrcg2W8YjLhgNKin7ANohoWf3Y=; b=p9GkmIM5jf1xCMwfPiNNAvTkgoUQnaiWZb+n70Pu5vMCPTqV9QWvaOZ8v2h6MsoPlA L9r17qq+2Pzeq3poooDmWevoZO8AfjZeb2IoxiASHvSpD88BIvt2nnBBbaljDp2aJeQz IQLrhJsKu01tQsUR7PnSAt7PNHZKIowKvF9qhrvbcoB2XtNW6oZMd/jmfJBZwEMsXu0/ yoyz3iBvGVX85MAuaiLF1l5YEJuVVREhJVlFqWkOWIwpBhs1T3Zr5kxW/EJPyJpYNj0U 3D11vp61WF498PYi9UJknuYnalqzC/u3g3YKhYDwpjYuW3jgGJyaM/4zU9PyQrScRgeQ D2wQ== X-Received: by 10.112.29.180 with SMTP id l20mr4340118lbh.95.1430410304331; Thu, 30 Apr 2015 09:11:44 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 30 Apr 2015 09:11:44 -0700 (PDT) X-Google-Sender-Auth: PWwRirmByDdYNiYGTzs0YyLkI7I X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186066 Archived-At: The followin patch implements (optional) lazy printing in tabulated-list-mode. When used, the tabulated-list-print function will print enough entries to fill a window, redisplay, and then will finish printing in a way that's interruptible by user input. The outcome is that very large buffers (with entries around the thousands) will come up instantaneously, where they would normally take a couple of seconds to print. I'm attaching the patch before pushing because I