I have been using Emacs for a long time and I have configured it quite a lot. I even wrote simple ELisp functions, and now I'm using macros more and more. I don't know a knowledgeable Emacs user anywhere, but I'm not a complete newbie.
I use nxhtml, mumamo, dired, ido, custom keybindings and so many things that I have added over the years that I donβt remember all of them; )
But something that I never really understood: what is the "font lock" mode and why does it bother me?
For example, I read that nxhtml and nxml, if I remember correctly, do not use font locking. Maybe I did not understand this part very well, but in any case: what does it change as a user?
Or take, for example, this description about WhiteSpace:
Note that when WhiteSpace is turned on, WhiteSpace saves the font lock state, that is, if the font lock function is enabled. And WhiteSpace restores the font lock state when it is turned off. So, if WhiteSpace is turned on and font lock is turned off, WhiteSpace also turns on font-lock to highlight spaces, but font lock will be turned off when WhiteSpace is off. So enable font lock before WhiteSpace is turned on if you want font lock to continue after WhiteSpace is turned off.
Good Excellent. I understand it. But what will change if the font lock function continues or not?
Basically, I just don't βget it,β no matter how much I read about the subject.
Any example / explanation that "font-lock" is under Emacs, and why it concerns me, would be very welcome!
emacs font-lock
Cedric martin
source share