This study presents an approach to access biologically and synthetically intriguing 2-pyridinones containing enaminonitriles, which can be further transformed into 2-pyridinone-fused 2-pyrimidones with fascinating fluorescence emission properties.