From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] [babel] fontification of source code blocks lost if using #+header(s) Date: Fri, 01 Jul 2011 15:50:56 +0100 Message-ID: <878vsim4vj.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcf3i-0006lF-Cr for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 10:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qcf3g-0004zv-4o for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 10:51:06 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:48537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcf3f-0004zG-Mk for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 10:51:03 -0400 Received: from 79-67-228-191.dynamic.dsl.as9105.com ([79.67.228.191] helo=localhost) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Qcf3Y-0005JU-8F for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 15:50:56 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hello again, For source code blocks with long header lines, org allows the use of the #+header: or #+headers: alternative for specifying these. Attached is an example. The problem is that using these seems to cause fontification to stop working and, unfortunately in a non-reproducible manner, also causes some problems with C-c' working for allowing me to edit the code in a code specific mode. Fontification works just fine if the header arguments are on the #+begin_src line, however. --=-=-= Content-Type: text/orgmode; charset=utf-8 Content-Disposition: attachment; filename=examplebug.org Content-Transfer-Encoding: quoted-printable Content-Description: minimal example for bug # -*- coding: utf-8; -*- #+TITLE: examplebug.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:nil * finances #+srcname: transactions #+header: :noweb yes #+begin_src ledger 2011/06/01 * Income assets:bank =C2=A31000 income:pay 2011/06/30 * Rent expenses:rent =C2=A3500 assets:bank #+end_src #+source: balance #+header: :cmdline bal :noweb yes #+begin_src ledger <> #+end_src --=-=-= Content-Type: text/plain thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.533.gdffdb) --=-=-=--