No it's not. If I had said 'your stupid mind, your idiot mind, you are a moron that would be personal. Saying 'your anarchist mind' is directed against anarchism. And that person was an anarchist so I think you're wrong.
"In the elected representatives of the working class, the Communist party, although I'm sure your anarchist mind can't comprehend the concept of representation, so I won't blame you." That's not an attack on the person you are arguing?
Do you understand?
You don't understand the concept of ad hominem. It means a personal attack, an attack on the person rather than the ideas or the arguments. Anarchism is not a person. Attacking anarchism is not ad hominem. Do you understand now?