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.
M-x report-emacs-bug
. Preferably, provide a step-by-step recipe to reproduce it, starting withemacs -Q
(no init file) - include any settings (e.g. customizations) needed to repro it. – Drew May 27 '16 at 16:11M-x grep
some files? Grep output (search hits) are considered "errors" in this regard. – Drew May 27 '16 at 18:44