[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-frame-command with multiple munitors
From: |
Juri Linkov |
Subject: |
Re: make-frame-command with multiple munitors |
Date: |
Sat, 17 Sep 2022 20:55:41 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> When I work with several monitors I would like that when, in a frame,
> I run a command which opens a new frame, this frame is created on the
> same monitor as that of the current frame, which is not always the
> case.
>
> Function make-frame-on-current-monitor exists to meet this use case
> but it is not really easy to use interactively. Variable
> pop-up-frame-function can be set to use a function different from
> make-frame for creating a new frame in display-buffer-pop-up-frame.
>
> I have used pop-up-frame-function to use make-frame-on-current-monitor
> instead of make-frame. That works fine but there is no easy way to do
> the same with special-display-popup-frame or make-frame-command.
>
> IMHO it would be worth to use such a variable in those functions too.
Sorry, the last line is unclear, please explain
what variable and in what functions?