emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] src code fontification in org 8.3


From: John Kitchin
Subject: Re: [O] src code fontification in org 8.3
Date: Mon, 15 Feb 2016 12:40:45 -0500

Thanks. A rebuild of emacs did indeed fix it.

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Sun, Feb 14, 2016 at 11:52 PM, Kyle Meyer <address@hidden> wrote:
John Kitchin <address@hidden> writes:

> I have this set:
>
> (setq org-src-fontify-natively t)
>
> but the code blocks are all black text.
>
> Is there a known issue with a transition from 8.2.10 to 8.3 that would
> affect fontification? or some previous setting that would interfere with
> it? Thanks,

Are you using a developmental build of Emacs?  If so, it should be fixed
if you update your build.

Here are the details from Org's eb3b104 (org-src: Use font-lock-ensure
to highlight blocks, 2016-01-29):

    * lisp/org-src.el (org-src-font-lock-fontify-block): Use
      org-font-lock-ensure instead of font-lock-fontify-buffer.

    This replacement has previously been made (f36b19e, d81e6b5) and then reverted
    (99f9999, 003a0f1) twice because source blocks were not being reliably
    highlighted when font-lock-ensure was used instead of
    font-lock-fontify-buffer.  This was due to a bug in font-lock-ensure
    that has now been fixed (see Emacs's 21beb19 and bug#22399).

    font-lock-ensure was introduced after Emacs 24.5, so this issue only
    pertains to users with a developmental version of Emacs.

--
Kyle


reply via email to

[Prev in Thread] Current Thread [Next in Thread]