auto-indent research result and proposal
Thiago Macieira
thiago at macieira.org
Sat Jan 18 13:49:45 UTC 2014
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);
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)
;
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140118/75b5678d/attachment.sig>
More information about the subsurface
mailing list