From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: Re: Enriched/Org is a colorful Org Date: Sat, 13 Apr 2013 18:01:52 +0300 Message-ID: <8361zq8of3.fsf@gnu.org> References: <87a9p79gnv.fsf@gmail.com> <20130410095450.GA31506@kuru.dyndns-at-home.com> <83a9p69x0c.fsf@gnu.org> <262C4E11-6D4B-4033-A619-1702CC8D0F94@gmail.com> <86fvyycfa9.fsf@somewhere.org> <83vc7t9dr1.fsf@gnu.org> <8461B483-8CC4-4D37-94BD-5CBEED773ADE@gmail.com> <83ip3s9rp8.fsf@gnu.org> <5A8E6625-33C1-4B94-A78E-B08268C57A5F@gmail.com> <83fvyw9mkh.fsf@gnu.org> <837gk89b8e.fsf@gnu.org> Reply-To: Eli Zaretskii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR1xf-0007Dh-V6 for emacs-orgmode@gnu.org; Sat, 13 Apr 2013 11:01:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UR1xe-0002XS-PO for emacs-orgmode@gnu.org; Sat, 13 Apr 2013 11:01:51 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:56564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR1xe-0002XF-HJ for emacs-orgmode@gnu.org; Sat, 13 Apr 2013 11:01:50 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0ML700G008A3KQ00@a-mtaout22.012.net.il> for emacs-orgmode@gnu.org; Sat, 13 Apr 2013 18:01:48 +0300 (IDT) In-reply-to: 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: Sean O'Halpin Cc: emacs-orgmode@gnu.org, carsten.dominik@gmail.com > Date: Sat, 13 Apr 2013 13:24:13 +0100 > From: "Sean O'Halpin" > Cc: Carsten Dominik , Org Mode > > In your opinion, would it be possible to reproduce the functionality > of outline-mode using text properties rather than overlays? This needs to be analyzed. Outline mode uses several features that are specific to overlays, but not to text properties: isearch-open-invisible and front-advance. (It also uses 'evaporate', but that happens automatically with text properties.) I think front-advance will happen automatically, but searching inside invisible text is currently supported only for overlays (for reasons that I consider irrelevant, but that's me). > And in the case of org-mode, would this really make that much of a > difference in terms of performance? I don't know, because I didn't measure that, and neither did I see any measurements published. If there are many overlays in a buffer, redisplay performance will certainly be better with text properties, but I don't know whether this improvement will be significant: there could be other factors at work that affect performance to a much greater effect. If we want to know for sure, there's no way around profiling this. Luckily, we now have profiler.el to help us.