Methyl 4-hydroxy-E-2-alkenoates prepared from aldehydes in one step, undergo the Michael reactions with thiolate anions to give 4-alkanolide derivatives, which are converted into 2-alken-4-olides. Methyl 4-methanesulfonyloxy-E-2-alkenoates undergo the substitution reactions, and subsequent treatments give methyl E, E-2, 4-alkadienoates.