A judge says South Carolina's attorney general must surrender any correspondence between his office and the governor-elect in the case of a Republican legislator who says they trampled his right to a fair trial.