[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Extending Alignment in C/C++ expressions (align.el)
From: |
Andreas Röhler |
Subject: |
Re: Extending Alignment in C/C++ expressions (align.el) |
Date: |
Mon, 10 Sep 2007 22:10:39 +0200 |
User-agent: |
KMail/1.8.2 |
Am Montag, 10. September 2007 14:37 schrieb Nordlöw:
> if (x) { xi = -1; }
> else (yyy) { yyyi = +1; }
>
> should be aligned into
>
> if (x) { xi = -1; }
> else (yyy) { yyyi = +1; }
Got it with command `align-entire'
with a customized `align-rules-list'.
Edited the regexp of `c-assignment': `[[{=]' instead of `='.
Then optional attributes
- Repeat:
- Boolean : on
Andreas Röhler