[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make-frame-command with multiple munitors
From: |
Pascal Quesseveur |
Subject: |
make-frame-command with multiple munitors |
Date: |
Thu, 15 Sep 2022 17:15:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt) |
Hello,
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.
--
Pascal Quesseveur
pquessev@gmail.com
- make-frame-command with multiple munitors,
Pascal Quesseveur <=