Subject: Re: bug#15469: 24.3; emacsclient -c fails to grab focus when asking“Revert buffer from file?”

From: Eli Zaretskii <[email-masked]>
Date: Sun, 06 Dec 2020 18:51:33 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Sun, 06 Dec 2020 17:14:45 +0100
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> So just raising the frame before we process the buffers seems to fix the
> problem for me.
> 
> Comments?

There be dragons: we've had several changes in this area, each one of
them caused unintended "misfeatures" in other use cases.  So I would
suggest to review bug reports related to emacsclient for the recent,
say, 3 years, and make sure the various use cases described there
still work correctly, both with TTY frames and GUI frames.