I like using indirect buffers and narrowing to work on multiple sections of code simultaneously.
I noticed recently that if I disable font-lock-mode
in an indirect buffer then I cannot get proper syntax highlighting back. I can reenable the mode, but no colors show up and instead I get the following error message:
Not enabling jit-lock: it does not work in indirect buffer
I've tried reading the documentation on font locking and looked in the jit-lock customize group ... but I can't find any way to tell Emacs to skip over jit locking and just try to fontify the whole indirect buffer. Is there some way to do this? If not, what else can I try? If there's nothing I can do ... why can't I fontify an indirect buffer?