From: "Jonas Lindström" Date: 2003-11-09T15:52:15+09:00 Subject: Re: ruby-mode indent frustration Neil Spring wrote: > Hello, > > I am used to c-mode indents and I find ruby-mode.el's indenting > frustrating. I agree with you about ruby-mode's indenting being frustrating. I think a good thing would be to make the indentation more configurable. C-mode's way of configuring indentation is arguably too complex, but adding a few more user options would be a step in the right direction. > I don't know how to configure or improve ruby-mode.el to handle these > statements, and I realize c-mode has it easy since all it has to do is > wait for semicolons, but I think improving the formatting will make code > more readable. If you think that c-mode has it easy, you should have a look at the 1100-line function c-guess-basic-syntax :-) While you are at it, read the amusing comment in font-lock.el. Jonas Lindstr�m