when executing magit-status and quickly focus out emacs, after the magit buffer pops up, emacs grabs the focus back. This is quite inconvenient. Is there a way to prevent that focus changing?
The way to reproduce this issue:
emacs -Q
and load magit.- using
magit-status
command to load a middle size git project (which takes 1-2 seconds). - in the meantime, quickly focus away from the Emacs frame, say clicking on a browser window.
- when
magit-status
buffer pops up, it grabs the focus back (which is what I'm trying to avoid)
Env:
Archlinux
i3wm
Emacs 27.0.50
magit d9ae466377b30d544fcbf5c57af1a60b350931af
magit-display-buffer-noselect
, it seems when it is the default value, the functionmagit-display-buffer
tries to raise the frame. FWIW, I can't reproduce the issue on Mac.magit-display-buffer-noselect
works! thank you.