Fork me on GitHub

so I'm still working on my outline problem -- in a emacs major mode, what defines what is considered to be a comment?


I need it so that "; foo" < this is a comment but ";;;; blah" <-- this is a header instaed of a comment


I need to change this for font locking faces / highlighting in emacs


can someone point me at docs for the following: how does emacs decide what's a comment ? everything I find is about how to manipulate comments, but I just want to know how emacs decide what a comment is


@dotemacs: yeah, so I ended up disabling the syntax table, only using keyword font locking -- and it all works now 🙂