[Integrate[1/(1-exp(-ix)), {x, -pi, pi}, PrincipalValue -> True]]