* src code fontification in org 8.3
@ 2016-02-14 22:11 John Kitchin
2016-02-15 4:52 ` Kyle Meyer
0 siblings, 1 reply; 3+ messages in thread
From: John Kitchin @ 2016-02-14 22:11 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
Hi all,
I think I recall from the mailist that in 8.3 src blocks are either
colored or fontified.
I have recently tried updating to 8.3, and I see neither.
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,
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: src code fontification in org 8.3
2016-02-14 22:11 src code fontification in org 8.3 John Kitchin
@ 2016-02-15 4:52 ` Kyle Meyer
2016-02-15 17:40 ` John Kitchin
0 siblings, 1 reply; 3+ messages in thread
From: Kyle Meyer @ 2016-02-15 4:52 UTC (permalink / raw)
To: John Kitchin; +Cc: emacs-orgmode@gnu.org
John Kitchin <jkitchin@andrew.cmu.edu> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: src code fontification in org 8.3
2016-02-15 4:52 ` Kyle Meyer
@ 2016-02-15 17:40 ` John Kitchin
0 siblings, 0 replies; 3+ messages in thread
From: John Kitchin @ 2016-02-15 17:40 UTC (permalink / raw)
To: Kyle Meyer; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]
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
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Sun, Feb 14, 2016 at 11:52 PM, Kyle Meyer <kyle@kyleam.com> wrote:
> John Kitchin <jkitchin@andrew.cmu.edu> 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
>
[-- Attachment #2: Type: text/html, Size: 2305 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-15 17:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-14 22:11 src code fontification in org 8.3 John Kitchin
2016-02-15 4:52 ` Kyle Meyer
2016-02-15 17:40 ` John Kitchin
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).