Is it when you start your car from cold it idles normal but as soon as you touch the throttle and release it revs up by itself and as soon as you drive down the road it stops?
I am thinking CTS as it seems temperature related an incorrect CO mixture can also cause this.
Martin