Gandhi's ahimsa was extreme - it was and is 'rigid' and clearly states that under no circumstances u shd respond. Let's get that clear. At the same time, funny thing is, he attempts to interprete Gita, an message addressed to Kshatria to fight to protect (righteous) people. He is unquestionably confused.
As for communal harmony, that was one-sided, he critisised Dayananda Saraswati's Arya Samaj but never ever the Khaliphat. Congress's appeasement policy's root is Gandhi.
So please understand, on both scores, he is a contradictory and hypocritical man. At best I can say he is was confused.