From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.devel Subject: Re: make-frame-command with multiple munitors Date: Mon, 19 Sep 2022 15:21:11 +0200 Message-ID: References: <82mtb0acta.fsf@gmail.com> <86o7vdc1f6.fsf@mail.linkov.net> <82pmfr25iu.fsf@gmail.com> <87a66vo8eb.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Pascal Quesseveur , emacs-devel@gnu.org, juri@linkov.net To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 19 15:38:28 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaGyg-0001RT-JT for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Sep 2022 15:38:26 +0200 Original-Received: from localhost ([::1]:48832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaGyf-0000pR-Gi for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Sep 2022 09:38:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaGi7-0005F8-Rr for emacs-devel@gnu.org; Mon, 19 Sep 2022 09:21:19 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:38671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaGi4-0006if-Vy for emacs-devel@gnu.org; Mon, 19 Sep 2022 09:21:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1663593671; bh=IWvV4bT/n+MuOE9qnrKihgjqSuYr1gWlw7tMFg/HAqE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=G+U0c57MbJz23fGaqnSZj5ObIY7c2jIXPULoTpylETvehAU3LnvDEzEJaxSzVJ25O 3Y+fwUlDsTfrJWReg9dng7U46yTdb46kKfLgo34CBzo9NXD0DY7Iz1lrsVZuXuDDhN 2CqOW28NYKq83WbumBT+Dm7xCxP2F29s5R3yhb/o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs10.server.lan [172.19.170.178]) (via HTTP); Mon, 19 Sep 2022 15:21:11 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87a66vo8eb.fsf@yahoo.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:4TFLmW/D289Nj7g3Rw4DbxGtWRMWb9BJr6/zb14aBtzdiFe9XuTQ/cj+F+EN4DSS1jPkb 87JXn5zK13om9KMtFRk3LcAjefI8S8GkWekjeMA1YfjQdqk45sFrgRuyH4L0F4hplPHiCuuT1pRF XBWKRoTJaHURCMN1jVbsbCJWF77WOruAi1fMnYnsXSrB+TqgnP90c/D0jHEnbtpDtoSRAmZyzTTo sFCPq06qagxOA2c25WXFA7tMt8q2rX1Pl7QIE/YGDVrsMiXCjRS0w2vzQlffi1nIZvvTKjaePTiy W0= X-UI-Out-Filterresults: notjunk:1;V03:K0:Qq9DEx6xQwo=:xxqNnOeCNXv8q9iSEbcpSr 2+T0CfxQShFAczLQx3A335YqT4qpzMy8VfLbxagqIROTNNbwiSi11TGBTfaTX/qKGHYPvZrF/ s9/ipvti72EBCDh8DPPmTZtVRS4ACjIE6tInaIcS8xik60No3XCRdgDp2ecgBD5+PSgjDwMos cNXWKHaoQyapyfZivr3JWP4MnKzmko/X1wIiMLiLDrrDhkEF39MlwFwYu0uOtcbW5PqOmsij6 zjbzE/TAJaol2dB0A8x4J8ItcAG34raJFd496Ris2bDSEyYM4uiSoGk1imoJYBopExsH3hYKj kwtVl6B8EJclLnOjv2fNofZyKXe3vqN1LDESfhE2+A3A76n0UbuslYKF1yht/c7riQ4txSGQ+ 1KWrvFleidzIMjT3U5frqLgcA/y+rgJbFCt7N9+RNsoqsEkybvWvx6u2xatY/RTTi7gPTUW0k ZxBGp93knnrt/KXq7u3c34YbMYALZ7Vf0HTIIIE7FQSmL3CjnCztFXBqp4LwV416T3rN4+k7X O7vzM84GhLPlqkr8qm0w4FSxUseetBpb9oGtVsBCy3Qv3egXA02Dj4AQnez/2o8paJIx4Tnah QRqIMjFL/IPsGDoEIOeTxe7Fd571+SzRzwY2AridIKPm9XPIGXZHsWx1QHxelflPqPZeoddVI UR3M+zPlQ3PvifKaNIrcZiiPI+RsDxeASP9vXpdPSjAB1qZrpKHDyYbX5ADA87TEutHTADnmI 8TPcFgVcFlfR9bdz+tGyb76dRLvqcS9cXiQlctzfcbnD/RJIgE9T1wEd81sqLSmZYhbFhkZY Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295696 Archived-At: > Sent: Tuesday, September 20, 2022 at 12:28 AM > From: "Po Lu" > To: "Pascal Quesseveur" > Cc: emacs-devel@gnu.org, juri@linkov.net > Subject: Re: make-frame-command with multiple munitors > > Pascal Quesseveur writes: > > > I imagine there's a reason make-frame-on-current-monitor didn't > > outright replace make-frame (personally it seems more normal to me to > > always open a new frame on the current monitor, but I can imagine > > that this is not the general case.) > > Because opening a frame on the right monitor is the job of the window > manager, not Emacs. Emacs has the capability of placing a frame at some position. It is then logical for emacs to look into the monitor configuration to determine the current monitor (then placing at corners or center oy monitor). It would a feature very much appreciated if made to happen. > Notice how make-frame-on-current-monitor always sets the "user specified > position" flag in the window manager hints property. The window manager > will then blindly obey the initial position (0, 0 from the origin of the > monitor) instead of placing the window in the right monitor while also > taking into account window placement constraints and policy. >