That did the trick. I guess my eyes were watering a bit when i glossed over the relevant docs. Where can I find it, if anywhere? Anyway, thanks a lot. Best regards, /Ulf Andersson "Kai Großjohann" wrote in message news:84adc3sna4.fsf@lucy.is.informatik.uni-duisburg.de... > "Ulf Andersson" writes: > > > And it does indeed color the header correctly some times, but not always. > > The documentation for font-lock also says that "keywords", i.e. regexps > > in the `font-lock-keywords' variable, should not span several lines, as > > this is "unreliable", to use the Elisp manual's word. > > I think recent versions of font-lock have the variable > font-lock-multiline. Does yours, too? It might help? > > -- > ~/.signature