make pangu-spacing ignore some term-mode and minu-buffer