From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: [poll] Fontify code in code blocks Date: Thu, 09 Jan 2014 14:01:51 +0100 Message-ID: <87wqi9ia0w.fsf@gmail.com> References: <86sisxz6ns.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1FFE-0002dl-Ii for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 08:01:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1FFD-0005bl-6i for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 08:01:56 -0500 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:45169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1FFD-0005bd-0H for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 08:01:55 -0500 Received: by mail-wi0-f181.google.com with SMTP id hq4so3418751wib.14 for ; Thu, 09 Jan 2014 05:01:53 -0800 (PST) In-Reply-To: <86sisxz6ns.fsf@somewhere.org> (Sebastien Vauban's message of "Thu, 09 Jan 2014 13:22:31 +0100") 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: Sebastien Vauban Cc: emacs-orgmode@gnu.org Le jeu. 09 janv. 2014 =C3=A0 01:22:31 , "Sebastien Vauba= n" a envoy=C3=A9 ce message: > Hello, > > Currently, to get "code highlighting" (which is contextual to the > language of the code block) enabled within your Org buffers, you need to > add the following line to your Emacs config file: > > (setq org-src-fontify-natively t) > > as the default value of `org-src-fontify-natively' is `nil'. > > WDYT if we turn it on by default? > > Are there users explicitly wanting to keep that variable turned off. If > yes, can you explain why: performance reasons, others? > > Best regards, > Seb Hello, I must add that the highlighting works only in code with begin_src- ... end_src =C3=A0 la org. But then, at least in my configuration, it bloc= ks the export in LaTeX or in HTML.=20 I have not succeeded to get the same highlighting of the latex syntax at the moment in an org file with all the correct export functions.=20 But in comparison of the advantages of org-mode, it is a very small problem= .=20 Best wishes, Jo.=20