I have a multi monitor setup and I typically have two Emacs frames, each filling a monitor.
I use display-buffer-reuse-window (reusable-frames . T)
as my only customisation.
One thing bugs me in my workflow, I call next-error
a lot and it will move the point to the next error in the compile buffer, and open the bad code in the window that I started in, but the focus remains in the compile buffer!
Is there a way to make the focus change frame when calling next-error
? (when it needs to)
Right now I need to type C-x 5 o
after every next-error
when I'm using two monitors.
I've tried adding advice to go to the other frame after, but it doesn't seem to have any effect.