From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Largest org file you have + performance Date: Fri, 05 Aug 2011 10:31:17 -0500 Message-ID: <87wrerkh8a.fsf@fastmail.fm> References: <878vr99bic.fsf@blackbird.nest.zamazal.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpMMq-0005m8-H9 for emacs-orgmode@gnu.org; Fri, 05 Aug 2011 11:31:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpMMp-0000Za-9X for emacs-orgmode@gnu.org; Fri, 05 Aug 2011 11:31:20 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:42606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpMMp-0000ZR-6x for emacs-orgmode@gnu.org; Fri, 05 Aug 2011 11:31:19 -0400 In-Reply-To: (jiangzuoyan@gmail.com's message of "Fri, 5 Aug 2011 10:20:16 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "jiangzuoyan@gmail.com" Cc: Org Mode "jiangzuoyan@gmail.com" writes: > My largest org file is QuanSongCi.org, contains ci poetry of Song > dynasty, about 6MB size. > > Editing in emacs is very slow, save needs to wait about > minutes.=C2=A0convert to html needs to wait about minutes, too. So, > sometimes, sed like tools is preferred to do editing and converting. Thanks for these details. I can report similar experiences with large files. As far as I understand, large org-mode buffers are slow because there are many overlays, which (unlike text properties), don't scale well: (info "(elisp) Overlays") This is right now an inescapable limitation of org-mode, since outline-mode relies on overlays. There was brief talk on emacs-dev of rewriting text-properties so that outline-mode could use them instead of overlays, but I do not believe the proposal was pursued further: http://permalink.gmane.org/gmane.emacs.devel/131304 Best, Matt