So after dealing with this bug for weeks, I figured out what was causing it.
The Bug
Invoke M-x man man (or any other man page).
Expect to open colorized man page, instead...
Receive messages:
Please wait: formatting the man man page...
error in process sentinel: ad-Advice-ansi-color-apply-on-region: Wrong type argument: markerp, 1
error in process sentinel: Wrong type argument: markerp, 1
Hi!
So after dealing with this bug for weeks, I figured out what was causing it.
The Bug
Invoke
M-x man man
(or any other man page).Expect to open colorized man page, instead...
Receive messages:
Enable debug on error, capture traceback.
Similar problems with Magit's display of logs: ANSI color codes that should be parsed are not (but no messages).
The Cause
This defadvice at the beginning of
powershell.el
.I know this is the cause since commenting it out makes the bug completely disappear.
Anyway, I roughly read the reasoning for the
defadvice
, and it sounds like we need a better solution, but I'm not sure what.