I wrote about this topic before. My small hackish mode attracted a few people for its good indentation, but it still had some issues that were hard to track down. In short, it's quite impossible to use c-mode's indentation. In the last few days I played with Steve Yegge's excellent js2-mode and I'll write about my setup here. js2-mode is different from most other programming modes that you can