From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: Re: Org now fontifies code blocks Date: Tue, 07 Sep 2010 16:47:19 +0200 Message-ID: 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> <87mxrug1x9.fsf@gnu.org> <87sk1lmzyo.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54187 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oszdv-0005yP-US for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 10:59:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oszdu-0007K0-Kq for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 10:59:27 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:46055) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oszdu-0007Jw-GX for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 10:59:26 -0400 Received: by ewy28 with SMTP id 28so2809232ewy.0 for ; Tue, 07 Sep 2010 07:59:25 -0700 (PDT) In-Reply-To: (Tom Short's message of "Tue, 7 Sep 2010 10:33:04 -0400") 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: Tom Short Cc: emacs-orgmode@gnu.org Tom Short writes: > I think it'd help for new users to keep it on by default, but since it > can be changed, I'm fine either way. How hard would it be to use a > property, so it could be changed on a per-file basis? If it's > difficult, that time may be better spent profiling and speeding it up. > > - Tom I think its exactly the opposite : its more dangerous having it on for new users. The reason is the confusion as to what mode you're in (I'm not a new user and I keep tripping up on that as my src blocks are pretty big) and the potential slow up which others have noticed. Maybe the first time you open an org file in a window and it detects src blocks it can even prompt and accept the customised setting there and then and store it. Its a major enough feature to warrant that perhaps? get-buffer-window can be used to determine if its being edited.