apparently indonesian marxists infiltrated sarekat islam, a muslim nationalist organization, in the early 20s. for a short time they formed a 'red sarekat islam,' which is hard to imagine now, after the afghan jihad against the soviets. but in those days, i guess anything oppositional to colonialists seemed in harmony.
marxism and catholicism mixed in 'liberation theology' in latin america later in the century. but the church hierarchy was never in opposition in any way to political/social elites in latin america.