From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Use font-lock-face property in org-src-font-lock-fontify-block? Date: Fri, 28 Sep 2012 08:53:08 +0200 Message-ID: <87mx0aprjf.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THURd-00028Z-Ks for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 02:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THURc-0003UG-No for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 02:53:05 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:35002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THURc-0003U8-EX for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 02:53:04 -0400 Received: by wibhj13 with SMTP id hj13so986599wib.12 for ; Thu, 27 Sep 2012 23:53:03 -0700 (PDT) In-Reply-To: (Takafumi Arakaki's message of "Thu, 27 Sep 2012 12:55:29 +0200") 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: Takafumi Arakaki Cc: emacs-orgmode@gnu.org Hi Takafumi, Takafumi Arakaki writes: > I am thinking about including my version of > org-src-font-lock-fontify-block in EIN, but Dan Davison suggested to > ask in this ML because it could be a problem in org-mode too. I'm not sure I understand the problem you are trying to fix for your own code here but things work fine here in Org. > Does anyone know what is happening here? Not really. Do you always need this or is it just for some modes? Maybe those modes use `font-lock-face' while other modes use `face' and highlighting in Src Blocks would need to add `font-lock-face' in the first case while just adding `face' in the second one. Perhaps adding both is some extra security... but I'd rather wait for a real bug in Org :) Thanks anyway for reporting this, -- Bastien