From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Handling large files with Emacs Date: Wed, 24 Oct 2012 13:19:29 -0700 Message-ID: <6A4BA8A28EAB4E0683A70F50BFE37E48@us.oracle.com> References: <87k3uhf0gc.fsf@panzer.v.cablecom.net> <87wqyfzt26.fsf@panzer.v.cablecom.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1351109984 5283 80.91.229.3 (24 Oct 2012 20:19:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Oct 2012 20:19:44 +0000 (UTC) To: "'Fab'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 24 22:19:52 2012 Return-path: Envelope-to: geh-help-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 1TR7Qe-000288-35 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Oct 2012 22:19:52 +0200 Original-Received: from localhost ([::1]:37770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR7QW-0001Xi-CB for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Oct 2012 16:19:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR7QR-0001Xd-6Y for help-gnu-emacs@gnu.org; Wed, 24 Oct 2012 16:19:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TR7QP-0000q1-EA for help-gnu-emacs@gnu.org; Wed, 24 Oct 2012 16:19:39 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:40869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TR7QP-0000px-7V for help-gnu-emacs@gnu.org; Wed, 24 Oct 2012 16:19:37 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q9OKJXgV004932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Oct 2012 20:19:34 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q9OKJWsU005840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Oct 2012 20:19:33 GMT Original-Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q9OKJVbn026514; Wed, 24 Oct 2012 15:19:32 -0500 Original-Received: from dradamslap1 (/10.159.178.166) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 24 Oct 2012 13:19:31 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <87wqyfzt26.fsf@panzer.v.cablecom.net> Thread-Index: Ac2yC9yoaCvN69C/QI6XbWZrfLtWkgAAEnEQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87408 Archived-At: > It actually was all my mistake and I was not aware the > linum.el caused all the trouble! Maybe linum should (by default) let users know when they might incur a performance penalty because the buffer is large. Maybe we should have a user option that specifies a size limit beyond which linum would avert you of the potential slowdown, or even (optionally) turn itself off. That's what we did for font-locking, for instance (option `font-lock-maximum-size'), before just-in-time font-locking was available. IOW, maybe we should not be too quick to just ascribe this to user error. Maybe linum could be more helpful to users.