reddit / emacs

Where else in the mu4e chain are things getting set/clobbered??? (can't believe how much time this has taken)

ImportanceFit1412 · 2022-11-20 03:51
I set mail-signature to a different string for each context. I then hit C to compose and choose a context to test, then in the compose window I check the value of mail-signature. For every context the value is t, with the previous value being set to the correct value from the context. So the context is setting it, and then it's getting clobbered to t. I don't set mail-signature anywhere else, and don't think I can set a breakpoint on a var, so **does anyone have a clue where else mail-signature could get set from**? (I'm checking in the compose window, so .msmtprc shouldn't matter since I'm not actually sending yet).
mickeyp · 2022-11-20 07:24
Try `M-x debug-on-variable-change` to track down the culprit. `M-x cancel-debug-on-variable-change` removes the watch.