From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takafumi Arakaki Subject: Re: [PATCH] Use font-lock-face property in org-src-font-lock-fontify-block? Date: Fri, 28 Sep 2012 12:24:15 +0200 Message-ID: References: <87mx0aprjf.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THXkQ-0005Bf-Fg for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 06:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THXkK-0001KM-QC for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 06:24:42 -0400 Received: from mail-qa0-f48.google.com ([209.85.216.48]:37801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THXkK-0001K4-Ka for emacs-orgmode@gnu.org; Fri, 28 Sep 2012 06:24:36 -0400 Received: by qadc11 with SMTP id c11so3499672qad.0 for ; Fri, 28 Sep 2012 03:24:36 -0700 (PDT) In-Reply-To: <87mx0aprjf.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Hi Bastien, Thanks. I will bundle my version of the function in my module while watching development of org-src.el. I will report again if I find something. Takafumi On Fri, Sep 28, 2012 at 8:53 AM, Bastien wrote: > 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