Wilfred / bison-mode

Emacs major mode for Bison/Jison, Yacc and Lex grammars
27 stars 21 forks source link

Indentation #2

Open andyleejordan opened 9 years ago

andyleejordan commented 9 years ago

The electric indentation for bison-mode gives... interesting results when run on each line of the buffer.

Wilfred commented 9 years ago

Totally agreed, it needs work.

Since much of bison-mode was written in the 90s, I suspect c-mode's indentation is better now and just using that would probably be an improvement.

I'm afraid bison-mode isn't the top of my list of priorities at the moment, but I'm happy to review and merge pull requests.

andyleejordan commented 9 years ago

@Wilfred That I can totally understand :) I probably won't touch Bison again after my compilers class; there are newer and better technologies.

Wilfred commented 9 years ago

No worries. I'm going to leave this open, because it's definitely an issue, and needs fixing.