From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#34516: Multi-monitor frame sets Date: Sun, 24 Feb 2019 22:11:44 +0000 Message-ID: <864l8srg4f.fsf@gmail.com> References: <87bm3a74s4.fsf@mail.linkov.net> <87zhqsx115.fsf@mail.linkov.net> <87r2byw802.fsf@mail.linkov.net> <874l8ski82.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="82251"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) To: 34516@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 23:13:11 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 1gy21G-000LJG-HA for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Feb 2019 23:13:10 +0100 Original-Received: from localhost ([127.0.0.1]:56586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gy21F-0006j3-GU for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Feb 2019 17:13:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gy219-0006iy-Fs for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gy218-0008Bv-Ox for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:13:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gy218-0008Bc-Km for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gy218-0003UB-66 for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:13:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87bm3a74s4.fsf@mail.linkov.net> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Feb 2019 22:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34516 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155104633213340 (code B ref -1); Sun, 24 Feb 2019 22:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Feb 2019 22:12:12 +0000 Original-Received: from localhost ([127.0.0.1]:50624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gy20J-0003T6-NY for submit@debbugs.gnu.org; Sun, 24 Feb 2019 17:12:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gy20I-0003Sv-MC for submit@debbugs.gnu.org; Sun, 24 Feb 2019 17:12:10 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:60353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gy20D-0007RW-Dp for submit@debbugs.gnu.org; Sun, 24 Feb 2019 17:12:05 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gy20C-0006gB-Mk for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:12:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gy20B-0007QS-RG for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:12:04 -0500 Original-Received: from [195.159.176.226] (port=48616 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gy20B-0007KR-Jq for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 17:12:03 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gy1zz-000JxE-Th for bug-gnu-emacs@gnu.org; Sun, 24 Feb 2019 23:11:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:mX873nsjB0PuiPLPg74NU7VNdqY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:155750 Archived-At: On Sun 24 Feb 2019, Juri Linkov wrote: >>> Since on Windows 'display-monitor-attributes-list' returns such >>> fake monitor names: >>> >>> \\.\DISPLAY1 >>> \\.\DISPLAY2 >>> >>> on macOS it could return something like that or generate fake names >>> from geometry like "1920x1080+0+0", "2560x1440+1920+16". >> >> I often have two identical monitors attached, so that would be >> confusing :-) >> >> Something like this (assuming nobody every connects more than 9 >> monitors to the same system). > > I hope at least the primary monitor always comes first in the list. The `display-monitor-attributes-list' docstring states: "Return a list of physical monitor attributes on DISPLAY. DISPLAY can be a display name, a terminal name, or a frame. If DISPLAY is omitted or nil, it defaults to the selected frame’s display. Each element of the list represents the attributes of a physical monitor. The first element corresponds to the primary monitor." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Why are you still guessing, instead of reading the documentation ? AndyM