emacs

looking for emacs templates for javascript

does anyone know a emacs template for javascript? in particular, am looking for template for either yasnippet or autocomplete. one minute google or emacswiki search didn't find anything. (am already using both js2-mode and js-mode (epresso), they don't appear to have name completion or template builtin. ...

Writing a parser with Wisent

Hi! I've described a grammar in a .wy file, but how can I build the parser? Also, sorry if this question is too simple, but I'm having a bad time figuring out how to use CEDET. Are there any docs besides the gentle intro and the info files? Thanks! ...

find/highlight common substrings between two buffers in Emacs

Hi Can somebody tell me how to highlight common substrings between two buffers in Emacs? I can write a script to do that but was wondering if there was a built-in macro in Emacs by which I can do this. Thanks, Raj ...

can't use (setq *-mode) instead of (global-*-mode) in emacs

Hi, I use (global-hl-line-mode) to enable hl-line-mode, But i want to use it in certain mode like cc-mode, so i add this line to mode-hook, (setq hl-line-mode t), it doesn't work, i enable hl-line-mode use M-x, it shows disabled, which means at first, it's really enabled, but i can't see any highlight. Same problem occurs to linu...