Emacs does a poor job of auto-indenting in Flex and Bison. In fact, it does not seem to support flexible mode. So how does the emacs user handle this? I like VIm, but I would prefer not to switch, because I'm much faster and more convenient in Emacs.
I had a third elisp module for Bison a few months ago, but when its indentation is broken, it will never be fixed. In short, it was a bad hack.
Or is there a way that I can disable auto-indentation for .l and .y files (so clicking will indent one)? How would I also change this elisp setting for emacs only?
A good and short guide to elisp is also very helpful. I would not mind spending a few days writing my own ways of bending and bison, if I had the correct documentation.
indentation flex-lexer emacs bison elisp
Kizaru
source share