From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter? Date: Mon, 23 Jan 2017 16:28:35 +0900 Organization: Emacsen advocacy group Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1485156678 29129 195.159.176.226 (23 Jan 2017 07:31:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2017 07:31:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) To: 25511@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 23 08:31:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZ5t-0007Az-5a for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jan 2017 08:31:13 +0100 Original-Received: from localhost ([::1]:39514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVZ5y-0003fD-4g for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jan 2017 02:31:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVZ5n-0003cb-KU for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:31:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVZ5i-00060D-PV for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:31:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40456) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVZ5i-000609-Le for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cVZ5i-0004jJ-G1 for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jan 2017 07:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25511 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148515660318063 (code B ref -1); Mon, 23 Jan 2017 07:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jan 2017 07:30:03 +0000 Original-Received: from localhost ([127.0.0.1]:38654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZ4k-0004h0-El for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:30:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVZ4T-0004fo-Bj for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:29:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVZ4N-0005Yk-HD for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:29:40 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47853) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVZ4N-0005Yg-EJ for submit@debbugs.gnu.org; Mon, 23 Jan 2017 02:29:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVZ4M-0002zV-By for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:29:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVZ4H-0005Xn-ES for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:29:38 -0500 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191]:53763 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVZ4H-0005PR-AC for bug-gnu-emacs@gnu.org; Mon, 23 Jan 2017 02:29:33 -0500 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cVZ3N-003ztK-Cd; Mon, 23 Jan 2017 01:28:49 -0600 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:17fmW4u1ZWgLqYISX9xz9gUuTA0= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] [fuzzy] 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: 208.118.235.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:128321 Archived-At: Hi, This didn't happen last week, and doesn't happen with Emacs 25.1. I have two displays arranged up and down; one is the up side of 1920x1080 and the other is the down side of 1366x768, i.e.: +---------------+ | | | | | 1920x1080 | External display | | | | +--+---------+--+ | | |1366x 768| Note PC | | +---------+ The coordinates start with (0 0) and (256 1080) respectively[1]. In that situation, the following script makes a new frame protrude to the left from the down screen: (let ((frame (make-frame))) (modify-frame-parameters frame '((top . 1200)))) On the new frame, (frame-parameter nil 'left) returns 8, that is outside of the down screen. This happens whichever the original frame (that runs the script) exists in the up screen or the down screen. As mentioned above, a new frame did not protrude from the down screen last week. Here is a workaround: (let ((frame (make-frame))) (sit-for 0) (modify-frame-parameters frame '((top . 1200)))) But it is needless, isn't it? Thanks in advance. Regards, In GNU Emacs 26.0.50.1 (i686-pc-cygwin, GTK+ Version 3.18.9) of 2017-01-23 built on yamaoka-PC Windowing system distributor 'The Cygwin/X Project', version 11.0.11900000 [1] The values of left and top frame parameters seem to indicate that of a window of an Emacs frame, so we have to increase the values some extent.