Richard B. Spencer, a white nationalist who refers to himself as the “Karl Marx of the alt-right” and has called for “peaceful ethnic cleansing” for a “white homeland,” rejoiced on Twitter shortly after midnight, on election day.