both sql and ruby use if..else.... I think this feature is very useful. But I just don't how to implement it. I am new comer to emacs. Someone can give me more details to implement it? Thanks. On Thu, Jul 31, 2008 at 4:59 PM, Nikolaj Schumacher wrote: > Xah wrote: > > > On Jul 30, 6:30 pm, "Will Chang" wrote: > >> Can we highlight IF, ELSE END IF just like highlight-parentheses? > > > > However, it is possible to write one that does that by using elisp's > > syntax table. > > I don't think so. Syntax tables can only match single characters. > > One would have to write versions of `up-list' and maybe `forward-sexp'. > The rest can be done with existing code. > > > regards, > Nikolaj Schumacher > > >