Subject: bug#50743: Emacsclient not tested vs. Local Variables prompt

From: Phil Sainty <[email-masked]>
Date: Sat, 25 Sep 2021 02:11:28 +1200

On 2021-09-24 20:23, 積丹尼 Dan Jacobson wrote:
> Yup Yup Yup.
> 
> I put  -*- foo: bar; -*-  in a file and did all your tests above, and
> was able to reproduce the bug 100%

Ok, so is this the recipe?

$ emacs -Q -f server-start &

$ cat /tmp/m
## --  -*- foo: bar; -*-

$ emacsclient /tmp/m

See the "local variables may not be safe" prompt in the client frame.

Focus on the emacsclient frame in your window manager.

Respond to the prompt (e.g. with "y").

And your keystrokes go to the original terminal, even though the
emacsclient frame has the window manager focus?