bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25547: 25.1.91; emacsclient -c creates frames on the wrong display


From: Stefan Monnier
Subject: bug#25547: 25.1.91; emacsclient -c creates frames on the wrong display
Date: Mon, 02 Nov 2020 19:56:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> This seems like it might be tricky to solve properly. My guess from
> looking at the emacsclient source is that a new option would be
> required in order to maintain backwards compatibility, maybe something
> like `--smart-create-frame` or `-C`, which would behave as in the
> expected behavior of the bug report.

Maybe we don't need a special option: we should be able to detect this
situation when `-c` is passed from an emacsclient running in a "dumb
tty".

IOW it might be a simple matter of tweaking server.el for the case where
`tty-type` is `dumb` and the `selected-frame` is a non-GUI frame, in
which case we'll just want to create a new tty frame in the same
terminal as that of the `selected-frame`.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]