Subject: Re: bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly

From: Philipp Stephani <[email-masked]>
Date: Thu, 28 Jan 2021 09:42:57 +0100

Am Do., 28. Jan. 2021 um 09:21 Uhr schrieb Lars Ingebrigtsen <[email-masked]>:
>
> Robert Pluim <[email-masked]> writes:
>
> > Where's the X connection that emacs would use to create the graphical
> > frame? Itʼs the emacs server socket thatʼs been forwarded.
>
> Yes, but the Emacs daemon and the display were both on machine 1, so
> the display wouldn't need to be forwarded?
>

Correct, there's no X forwarding in the loop here.

emacsclient -t also doesn't work right: It reuses an existing
graphical frame on the first machine, rather than creating a new TTY
frame, and it prints internal TRAMP status messages into the file
buffer.

emacsclient without either --create-frame or -t works fine (but
doesn't create a frame).