Mn 2p resonant X-ray emission clarifies the redox reaction and charge-transfer effects in LiMn2O4.