memory in synchronism with rotation of the sewing machine to thereby automatically form the desired pattern numeral 20 indicates a dial which is rotatably arranged on the machine casing the dial is provided indications on the front face of the machine such as the automatic pattern range a and the straight stitching range s in fig1 the dial 20 is manually rotated through the operation switching range c with respect to the reference point 21 on the machine casing to select the automatic pattern stitching range a or the straight stitching range s the dial 20 is composed of cams coaxially secured in fig2 numeral 22 indicates a switching cam which is so arranged as to close said switch sw1 positioned in a suitable place when the range a of the dial 20 is selected numeral 23 is a cam which designates during manual rotation of the dial 20 for selecting the straight stitching range s to upwardly shift a notched plate 24 as shown in fig2 until the notch 24a engages a crank pin 14 so as to fix the needle bar support 5 in the straight stitching position numeral 25 denotes a cam for changing the needle dropping hole of the needle plate 8 the cam 25 is also rotated together with the cam 23 to turn a needle switching lever 26 in the counterclockwise direction to thereby turn the crank lever 10 in the clockwise direction via a connecting rod 27 against the action of the.