GNU bug report logs -
#56637
28.1.90; [FR] Allow a way around font-lock-mode being unconditionally disabled in " *hidden*" buffers
Previous Next
Full log
View this message in rfc822 format
> Org mode fontifies code blocks using "hidden" temporary buffers with
> their name starting from " ": " *org-src-fontification:major-mode*".
>
> The buffers are kept around to avoid extra major-mode loading overheads
> and the fontification is not using (font-lock-ensure).
IIUC they're never displayed, right? So, `font-lock-ensure` does sound
like "the right tool". Could you give a short explanation for why you
don't use `font-lock-ensure`?
> (font-lock-ensure) usually fontifies the buffer correctly even though
> font-lock-mode is disabled. However, not always.
Sounds like a bug we should fix.
> It would be nice if we could somehow enable font-lock inside " *hidden*"
> buffers. Would it be possible?
FWIW, I do think it would be good to remove the rule that font-lock is
never enabled in temp buffers.
Stefan
This bug report was last modified 2 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.