From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3471: 23.0.94; linum-mode and invisible lines Date: Fri, 05 Jun 2009 03:35:23 +0100 Message-ID: Reply-To: Leo , 3471@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244171220 22255 80.91.229.12 (5 Jun 2009 03:07:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jun 2009 03:07:00 +0000 (UTC) Cc: Markus Triska To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 05 05:06:57 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MCPlf-0003NH-Iw for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jun 2009 05:06:56 +0200 Original-Received: from localhost ([127.0.0.1]:43595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCPla-0003Pq-VV for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jun 2009 23:06:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MCPcc-0007hk-NX for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 22:57:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MCPcS-0007Z7-N2 for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 22:57:29 -0400 Original-Received: from [199.232.76.173] (port=51766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MCPcS-0007Yy-BG for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 22:57:24 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60343) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MCPcR-0001f8-Gb for bug-gnu-emacs@gnu.org; Thu, 04 Jun 2009 22:57:24 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n552vIr3005430; Thu, 4 Jun 2009 19:57:18 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n552j4xc003623; Thu, 4 Jun 2009 19:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 05 Jun 2009 02:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3471 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12441693562834 (code B ref -1); Fri, 05 Jun 2009 02:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Jun 2009 02:35:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n552Zo44002823 for ; Thu, 4 Jun 2009 19:35:51 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:60502) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MCPHZ-0006Dm-R1 for emacs-pretest-bug@gnu.org; Thu, 04 Jun 2009 22:35:49 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MCPHM-0003pq-0I for emacs-pretest-bug@gnu.org; Thu, 04 Jun 2009 22:35:48 -0400 Original-Received: from ppsw-0.csi.cam.ac.uk ([131.111.8.130]:49234) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MCPHJ-0003hj-CP for emacs-pretest-bug@gnu.org; Thu, 04 Jun 2009 22:35:33 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]:51108 helo=victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1MCPHA-0000wm-2H (Exim 4.70) (return-path ); Fri, 05 Jun 2009 03:35:24 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 04 Jun 2009 22:57:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28499 gmane.emacs.pretest.bugs:24567 Archived-At: Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In buffers where many many lines are invisible, enabling linum-mode would take a long time and C-g won't be able to stop it. More specifically, I use magit to manage a small git repo, its status buffer at the moment has 11850 lines (buffer size 366524) with only < 100 lines visible. Running linum-mode on it would freeze emacs for a few minutes on a intel core duo 2.0G machine. It looks like linum has wasted a lot of time on invisible lines. Is that necessary? Although I'm aware that I can work around it by setting line-number-display-limit but my feeling is linum is doing something inefficiently. GNU Emacs 23.0.94.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46) of 2009-05-23 on 200.sub-75-216-116.myvzw.com Thanks. Leo