From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#21173: 25.0.50; New frames positioned off screen with multiple monitors Date: Sat, 01 Aug 2015 12:51:29 +0200 Message-ID: <55BCA4B1.8030103@gmx.at> References: <874mkjadqx.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438426344 5394 80.91.229.3 (1 Aug 2015 10:52:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2015 10:52:24 +0000 (UTC) To: Francis Litterio , 21173@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 01 12:52:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZLUOj-0006qy-Ee for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2015 12:52:13 +0200 Original-Received: from localhost ([::1]:53309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLUOi-0005Nb-MR for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Aug 2015 06:52:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLUOe-0005JX-25 for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 06:52:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLUOZ-0007Mi-0P for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 06:52:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLUOY-0007Mc-SX for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 06:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZLUOY-0004P3-3o for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2015 06:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Aug 2015 10:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21173 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21173-submit@debbugs.gnu.org id=B21173.143842630116888 (code B ref 21173); Sat, 01 Aug 2015 10:52:02 +0000 Original-Received: (at 21173) by debbugs.gnu.org; 1 Aug 2015 10:51:41 +0000 Original-Received: from localhost ([127.0.0.1]:36297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZLUOC-0004OK-NJ for submit@debbugs.gnu.org; Sat, 01 Aug 2015 06:51:41 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54045) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZLUOA-0004O9-Qm for 21173@debbugs.gnu.org; Sat, 01 Aug 2015 06:51:39 -0400 Original-Received: from [178.191.140.100] ([178.191.140.100]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LvEZe-1YvXVT0rT8-010PGf; Sat, 01 Aug 2015 12:51:37 +0200 In-Reply-To: <874mkjadqx.fsf@gmail.com> X-Provags-ID: V03:K0:KQz7mZbh2R7O7Dn1b8W4OuPKtxQVqKpvd7aD6fJd78YvMgtu+KB oxXHZ4VupzYMNG6mTBF5jRltAyFkytBYmXcP5QGu8zIoqrOgOFvSr/+CmuPGkNjMcBZ5YsS UO4Ja7uWrsDzIaTX3hMkf11yDopHm1LNv/lXaZQv64dxKSbqhhO0DCW0KoO2cqIbmUrV0WN ymLWPkmBA284tMj0kmNRg== X-UI-Out-Filterresults: notjunk:1;V01:K0:U41vXFEoOns=:C1K3lAWEkKHWC5L2i70ozz Rn96ktEliE81FP/8tt9lPmvRZJJV3YuY/acwBTbYFN0jFNWEbiQJH2oo72w6A/PEj+HjKtjW0 GdB+ahi16rgyio94CNi2+cX1lF93OhHlFA0h19ru0lOTt/BHdzwa5j6YSQQI4YJSHPrPQaguu yoIq9x0SCibmEPm1uLcePnEVkbpuWiTpbNqFqdpvWTgWDSNZgJXSfe9kpke0Qlg5Jc1lzSpbs +cuo/rWYFKKSuY/SCE/UJ/inkQNPYCBg4GGEIe3Dmv4O1W/NNJR28ZyU++m7J+5fE0t2uljjS d490ULbukLGuevdSd/QquGyqbHMMCNcfgJgmq4jW/jBFf71Djehu1s1cNhMSCQvfWE9mJr2+1 Aug8u3B5leTghGpzyYoHeecGiSlbalmTA7e7X89TlixP0Yue/hYYfDOh5ttLvXzpI8ro6MXF6 boDHdztEuxRViw3IB357jL4x+2pXNIKrRUCwVcNvL4Nj/p+1GDOspTS2wat+OSC5mgnGEBMT+ JN7ApTRM3U+o+qAk6J8Pl1P3aGv0t99pTS6QAsWBkzuP/gCHdLNHcCJPzAd+OG/vPJnfePxMe NbmDFNJG4xiOTiis6KV6E25QLhcv/smycGcLKmPHHtyiOVTTz2xH4DwB3vmte8tXZ37jOwhyQ ViwN1vbpjz/Pp2KoO5cuJk/Wv7OZV3t4u77bJrLscWKC5mb6JWj+/EfcON5j82sZOcyQ= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105263 Archived-At: > In buffer *scratch*: > > (setq f (make-frame '((left . -1)))) > # IZSYSTEM023 015257f0> > > (frame-parameter f 'left) > 3155 > > The left offset of the new frame appears to be 1920 pixels too far to the right. > Evaluating the following form positions the frame to its expected location > (abutting the right edge of the right monitor): I'm not familiar with multiple monitors. But according to the Elisp manual ... `left' The position, in pixels, of the left (or right) edge of the frame with respect to the left (or right) edge of the screen. The value may be: an integer A positive integer relates the left edge of the frame to the left edge of the screen. A negative integer relates the ^^^^^^^^^^^^^^^^ right frame edge to the right screen edge. `(+ POS)' This specifies the position of the left frame edge relative to the left screen edge. The integer POS may be positive or negative; a negative value specifies a position outside the screen or on a monitor other than the primary one (for multi-monitor displays). `(- POS)' This specifies the position of the right frame edge relative to the right screen edge. The integer POS may be positive or negative; a negative value specifies a position outside the screen or on a monitor other than the primary one (for multi-monitor displays). ... you try to the position the right edge of the frame by 1 pixel left of the right edge of the "screen". Didn't you get exactly that? That is, talking about a "left offset" in this case is misleading. What was your "right offset? Simply disregard this message if you were aware of what you were doing. martin