From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Org now fontifies code blocks Date: Tue, 07 Sep 2010 09:23:25 -0400 Message-ID: <871v95ofg2.fsf@stats.ox.ac.uk> References: <8739uvw0hg.fsf@stats.ox.ac.uk> <87vd7j1nck.fsf@stats.ox.ac.uk> <87lj7kqh3f.fsf_-_@stats.ox.ac.uk> <874oe6pwew.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=34454 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Osy9B-0000tP-Na for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 09:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Osy99-00062W-Sb for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 09:23:37 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:59270) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Osy99-000627-JX for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 09:23:35 -0400 In-Reply-To: (Thomas S. Dye's message of "Fri, 3 Sep 2010 09:10:42 -1000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode Mailinglist "Thomas S. Dye" writes: > Aloha Dan, > > This is really nice. Thanks for shepherding it along. > > In some of my use cases there is a substantial delay when opening a > large file and then unfolding sections with many source code blocks. Hi Tom, I think this is a good point and probably as you say a reason for turning it off by default. Org should be (and was!) lightweight by default. I haven't had time to profile things properly. Before we turn it off, could you please confirm that all your slowness problems go away when you do (setq org-src-fontify-natively nil)? Thanks, Dan > I don't mind this and intend to keep the feature on, but I do think it > should be off by default because the user potentially pays an > appreciable time penalty for the pleasure of semantic source code > markup. > > Thanks again for this nice feature. > > All the best, > Tom > > On Sep 3, 2010, at 7:30 AM, Eric S Fraga wrote: > >> On Thu, 02 Sep 2010 08:51:16 -0700, Dan Davison >> > > wrote: >>> >>> I've just pushed changes which mean that Org now fontifies code in >>> code >>> blocks. Currently, this is turned on by default, so it would be >>> helpful >>> if people could report any problems, and opinions as to whether it >>> should be on or off by default. >> >> [...] >> >> This is brilliant! Works very well on my notebook (with small code >> blocks as that's all I tend to have). Many thanks! >> -- >> Eric S Fraga >> GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode