I've found that there are many cases to consider, so at the end I decided it was simple to just set:
Code:
p.noindent { text-indent: 0; }
It's a pity CSS does not allow aliasing and reference, that would make it possible to say that every "h1 + p" is a "p.noindent" (or does it?).