Emergence of a twisted flux tube I: overall evolution (Magara 2004)