From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [bug] #+constants line has to be at column 0 Date: Thu, 13 Mar 2014 08:11:46 +0000 Message-ID: <87ha72ldq5.fsf@ucl.ac.uk> References: <874n35m1b9.fsf@pinto.chemeng.ucl.ac.uk> <87ob1bcmzs.fsf@bzg.ath.cx> <87a9cv1dt1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO0kD-0001KO-RB for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 04:12:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO0k8-0008VJ-0P for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 04:12:01 -0400 Received: from mail-am1lp0010.outbound.protection.outlook.com ([213.199.154.10]:20534 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO0k7-0008UX-P6 for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 04:11:55 -0400 In-Reply-To: <87a9cv1dt1.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 12 Mar 2014 19:18:02 +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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Bastien writes: > >> This is the same behavior than all #+ directives except these four: >> >> #+TITLE: >> #+AUTHOR: >> #+DATE: >> #+EMAIL: >> >> Fontification should tell you in all cases. > > Most user-defined keywords ignore indentation > (e.g., #+LATEX_HEADER:, #+MACRO: ...). > > I think we should remove this historical limitation, as there is no > reason to keep it any longer. The benefit is that such a change will be > backward compatible. Nicolas, thanks for this. Works very well now. The fontification doesn't as I guess org-fontify-meta-lines-and-blocks-1 hasn't been updated. I suggest adding "+constants:" to the first cond entry in this function? Thanks again, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.2, Org release_8.2.5h-709-g99f1ff