Metal-catalyzed chemoselective cycloisomerization of cis-2,4-dien-1-als to 3-cyclopentenones and 4-alkylidene-3,4-dihydro-2H-pyrans.