air conditioning compressors put a load on the engine causing it to slow down, vehicles have an idle compensator which when the air conditioning is on speeds the engine back up to normal idle speed or" compensates" for the added load.
If you mean the engine will rev up and down as it is running, it has been my experience that a dirty air filter is a cause of the fluctuation.
The most common cause of engine surging (rev up and down) is a dirty air filter.
First blush guess: the compressor is siezed, so that the engine can't turn it. If you rev up the engine a bit before you turn it on, you might find that the engine will load, but not die, and the belt will slip/squeal/smoke.
It is called a gas pedal. Check that the air flow meter pipe isn't cracked!
I am not 100% sure but as I understand it if some combustible substance (like an oil leak in a car) gets mixed with the air intake then it will cause the engine to rev up even if you cut the fuel intake (as the oil leak is a second, uncontrolled fuel intake). A lot of diesel engine have safety measures to cut the air intake if it over-revs thus stopping both the intake of air and of the second, uncontrolled fuel intake and thus cutting out the engine. The above answer is derived from reading discussion about the diesel engines on the Deep Water Horizon (2010 BP oil spill) possibly not having such air flaps to cut the air intake (or inoperative ones) as a possible cause for the explosion that sank the drilling rig given that when the well kicked a large amount of natural gas would have been mixed with the air and if it went to the diesel engine would cause it to rev up. If there were no (working) air flaps then it would cause the engine to over-rev to destruction and thus cause the igniting spark. As of writing it is just conjecture as said diesel engine is still at the bottom of the Gulf of Mexico.
the air conditioner kicking on and off will do it too/;p
Are you sure it's not the cooling fan (radiator) making the noise? It is suppose to come on with the a/c running. If it's not the fan you should check the IAC valve. (Idle Air Control) It control the engine idle speed. Simply check resistance across terminals a & b then c & d..should be 40 to 80 ohms
check the EGR valve/ AIS air tubes or air flow meter/VALVE
Rev Like to rev an engine
cause the coolant temp is low , automobiles tend to do that when there cold
dont rev the engine to much dont rev the engine to much
Check your air filter. Is it petrol or diesel? the most common cause is poor air flow to the engine. Hope this helps.