From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#34516: Multi-monitor frame sets Date: Tue, 19 Feb 2019 23:37:51 +0200 Organization: LINKOV.NET Message-ID: <87r2c3tq6o.fsf@mail.linkov.net> References: <87bm3a74s4.fsf@mail.linkov.net> <83pnrpjb44.fsf@gnu.org> <8736okvlv2.fsf@mail.linkov.net> <837edwjvwe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="207729"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 34516@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 19 23:14:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwDeZ-000ruX-J3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2019 23:14:15 +0100 Original-Received: from localhost ([127.0.0.1]:55661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwDeY-0003dk-GX for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Feb 2019 17:14:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwDbT-0000yH-1x for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 17:11:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwDSp-0001ZH-3B for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 17:02:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwDSk-0001Xn-QD for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 17:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwDSk-0000IM-KT for bug-gnu-emacs@gnu.org; Tue, 19 Feb 2019 17:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Feb 2019 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34516 X-GNU-PR-Package: emacs Original-Received: via spool by 34516-submit@debbugs.gnu.org id=B34516.15506136881078 (code B ref 34516); Tue, 19 Feb 2019 22:02:02 +0000 Original-Received: (at 34516) by debbugs.gnu.org; 19 Feb 2019 22:01:28 +0000 Original-Received: from localhost ([127.0.0.1]:56804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwDSC-0000HK-Ch for submit@debbugs.gnu.org; Tue, 19 Feb 2019 17:01:28 -0500 Original-Received: from purple.birch.relay.mailchannels.net ([23.83.209.150]:64708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwDS9-0000H9-RO for 34516@debbugs.gnu.org; Tue, 19 Feb 2019 17:01:26 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1C884122786; Tue, 19 Feb 2019 22:01:24 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id ABD53122FAD; Tue, 19 Feb 2019 22:01:23 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Tue, 19 Feb 2019 22:01:24 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Reign-Robust: 76606a1f1225916d_1550613683894_3319336160 X-MC-Loop-Signature: 1550613683894:4227473973 X-MC-Ingress-Time: 1550613683894 Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTP id 0A7AD8004C; Tue, 19 Feb 2019 14:01:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=8q07gj d36qAuzfpR0MBYeJ+HhOs=; b=wnsF0+LQ9rHHsT5279gBsb+MZvYJKqd708tUFS NCvNWM3mrMFBE9Lp1FvtbnbAC++ePZLZAw+9q0a5/zOQKOUTqBBe//lqL9U1WljU gRCswTYwx2rOg/VV/Wg304LicjpvlHwrrTB/ub1keKaDPtFxAjWP2my0Cr0Efx2m fHmqA= Original-Received: from mail.jurta.org (m91-129-96-50.cust.tele2.ee [91.129.96.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTPSA id 568E78004A; Tue, 19 Feb 2019 14:01:20 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a45 In-Reply-To: <837edwjvwe.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 19 Feb 2019 05:32:17 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrtdeggdduheehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirdehtdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrhedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgepud X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155577 Archived-At: >> > What kind of list does display-monitor-attributes-list return on you= r >> > system, and how can you tell which part there refers to what physica= l >> > monitor? >>=20 >> It returns a list with such meaningless monitor names as =E2=80=9CLVDS= =E2=80=9D, =E2=80=9CeDP-1=E2=80=9D, =E2=80=9CDP-2-2=E2=80=9D, >> etc. that don't help to refer to a physical monitor. However, I notic= ed that >> the only attribute that could help is =E2=80=98geometry=E2=80=99 in th= e form of (X Y WIDTH HEIGHT), >> e.g. when two adjacent monitors have such geometry attributes: >>=20 >> (geometry 0 0 1920 1080) >> (geometry 1920 16 2560 1440) >>=20 >> the right edge of the first monitor ends (1920px) is where the left ed= ge >> of the second monitor begins. Based on this guess I tried to deduce >> a relative placement of new frames, but maybe I'm wrong. > > Does the proposed function sound useful, given these issues? The proposed function tries to provide the right geometry for =E2=80=98make-frame=E2=80=99, i.e. the geometry of the selected monitor, = but I see that it doesn't always makes a new frame on the specified monitor. Also I don't understand the logic how currently =E2=80=98make-frame=E2=80= =99 decides on which monitor to make a new frame.