I want to see stack trace lines highlighted in GUD and have
next-error work there. That works for me if, after starting GUD (via
M-x pdb) I enable
However, if I do this:
(add-hook 'pdb-mode-hook (lambda () (compilation-shell-minor-mode t)))
Then when I run
M-x pdb, I get that minor mode enabled, but the matching error lines in the buffer don't get highlighted. I then have to disable and re-enable the minor mode to get the highlighting back.
How can I configure things so that the minor mode works fully as soon as I start GUD?