Iodide-promoted aldiminium ion-alkyne cyclizations. A convenient synthesis of substituted tetrahydropyridines and 3-alkylidenepiperidines.