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: Mon, 18 Feb 2019 23:16:01 +0200 Organization: LINKOV.NET Message-ID: <8736okvlv2.fsf@mail.linkov.net> References: <87bm3a74s4.fsf@mail.linkov.net> <83pnrpjb44.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="121584"; 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 Mon Feb 18 22:24:21 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 1gvqOi-000VWF-QJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2019 22:24:21 +0100 Original-Received: from localhost ([127.0.0.1]:36843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvqOh-00031J-Nu for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2019 16:24:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvqOR-0002wc-JI for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 16:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvqOQ-0006ac-SK for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 16:24:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54015) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvqOQ-0006aY-OK for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 16:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvqOQ-0007ki-K7 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 16:24: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: Mon, 18 Feb 2019 21:24: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.155052498929662 (code B ref 34516); Mon, 18 Feb 2019 21:24:02 +0000 Original-Received: (at 34516) by debbugs.gnu.org; 18 Feb 2019 21:23:09 +0000 Original-Received: from localhost ([127.0.0.1]:53292 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvqNY-0007iM-Tu for submit@debbugs.gnu.org; Mon, 18 Feb 2019 16:23:09 -0500 Original-Received: from bisque.maple.relay.mailchannels.net ([23.83.214.18]:7277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvqNW-0007i2-Gz for 34516@debbugs.gnu.org; Mon, 18 Feb 2019 16:23:07 -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 4D9B55C2DBE; Mon, 18 Feb 2019 21:23:05 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a49.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DC44F5C5200; Mon, 18 Feb 2019 21:23:04 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a49.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); Mon, 18 Feb 2019 21:23:05 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Whistle-Trail: 2756e1166ffab995_1550524985044_2852918579 X-MC-Loop-Signature: 1550524985043:2165522516 X-MC-Ingress-Time: 1550524985042 Original-Received: from pdx1-sub0-mail-a49.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a49.g.dreamhost.com (Postfix) with ESMTP id 745F17F1DE; Mon, 18 Feb 2019 13:23:04 -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=fVk+we TiMowvqALm+3QHgfUtons=; b=eFgMS1y8G+x/cza8dRCdxiMr+mFamk2PBG1Mwz YSpve+jUllr6Udv3awHlKF5fDDmjTYR+Drc5EHpus6xH7I0P9/O4TY3qTZlkMj2q 969qi8F4LAK6/1gnPsC31gGiGlJFHft99KU1J0V/3PeWI00s1ylrXt8h5Y+jfKTi T59Is= 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-a49.g.dreamhost.com (Postfix) with ESMTPSA id C11A17F1E8; Mon, 18 Feb 2019 13:23:02 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a49 In-Reply-To: <83pnrpjb44.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 18 Feb 2019 18:48:59 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrtddugdduudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirdehtdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdeliedrhedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgepud 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:155519 Archived-At: >> Shouldn't frame.el provide a command like make-frame-on-display, >> but to make a frame on the specified monitor instead of display? >>=20 >> Isn't the following patch the right way to do this? >> (It also adds completion for the existing command): > > What kind of list does display-monitor-attributes-list return on your > system, and how can you tell which part there refers to what physical > monitor? 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 noticed = that the only attribute that could help is =E2=80=98geometry=E2=80=99 in the f= orm of (X Y WIDTH HEIGHT), e.g. when two adjacent monitors have such geometry attributes: (geometry 0 0 1920 1080) (geometry 1920 16 2560 1440) the right edge of the first monitor ends (1920px) is where the left edge of the second monitor begins. Based on this guess I tried to deduce a relative placement of new frames, but maybe I'm wrong.