auto-indent research result and proposal
Dirk Hohndel
dirk at hohndel.org
Sat Jan 18 13:58:34 UTC 2014
On Sat, 2014-01-18 at 13:49 -0800, Thiago Macieira wrote:
> On sábado, 18 de janeiro de 2014 07:35:42, Dirk Hohndel wrote:
> > > 4 - it uses and expect tabstop=8 (kernel's guide expects the same), but
> > > escaped new lines will look unindented if you use tabstop!=8.
> >
> > I don't understand that.
>
> I think he means continuation lines. There are three solutions to them:
>
> 1) align and enforce the tabstop size (this is Emacs default)
> [ tab ]unsigned x = (a + b +
> [ tab ][ tab ].... c);
That's what our current code does
> 2) align with spaces, not tabs
> [ tab ]unsigned x = (a + b +
> [ tab ]..............c);
>
> 3) don't align, just indent
> [ tab ]unsigned x = (a + b +
> [ tab ][ tab ]c)
> ;
Yuck
/D
More information about the subsurface
mailing list