From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#31031: 27.0; (elisp) `Position Parameters', floating-point values Date: Mon, 2 Apr 2018 14:56:28 -0700 (PDT) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1522706113 11773 195.159.176.226 (2 Apr 2018 21:55:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Apr 2018 21:55:13 +0000 (UTC) To: 31031@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 02 23:55:09 2018 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 1f37Pw-0002sR-JY for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Apr 2018 23:55:08 +0200 Original-Received: from localhost ([::1]:38164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f37Ry-0007uv-Je for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Apr 2018 17:57:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f37Rr-0007uc-GN for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:57:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f37Rm-0000Eq-MH for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:57:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f37Rm-0000Em-IL for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f37Rm-0006Yn-BU for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Apr 2018 21:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31031 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.152270620925197 (code B ref -1); Mon, 02 Apr 2018 21:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Apr 2018 21:56:49 +0000 Original-Received: from localhost ([127.0.0.1]:35521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f37RY-0006YK-Ug for submit@debbugs.gnu.org; Mon, 02 Apr 2018 17:56:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f37RW-0006Y7-VM for submit@debbugs.gnu.org; Mon, 02 Apr 2018 17:56:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f37RP-0008RI-Jj for submit@debbugs.gnu.org; Mon, 02 Apr 2018 17:56:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f37RP-0008R9-GK for submit@debbugs.gnu.org; Mon, 02 Apr 2018 17:56:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f37RO-0007kA-5N for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:56:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f37RJ-0008L2-9t for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:56:38 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:43818) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f37RJ-0008KE-0A for bug-gnu-emacs@gnu.org; Mon, 02 Apr 2018 17:56:33 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w32LtpvT111047 for ; Mon, 2 Apr 2018 21:56:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=eZlGI1sF8GyzbEUBCcl9r+Y45AvbDVF9Wr9g80AWEfM=; b=fGdaNzTnBWQk0TmDfFOY8/N89ZPWDbI731gjwRtgHB6Z4+JT8+5C/0zWSOAM2fF0vk5U LyoA1GaTKWf8A6VwCHEDWzGU/JVOixU/nwhXskm/J/k8M1ETYN4/afxIeFgyU7x5H2td NQG7ZVZllDNEf0wPeJVqUAaOzgW3Y3l96TtTWd/5I6hcmcNpgx+vGv6VDfEKcEeqBPo1 D4Ae3WZkggnzZzEYBzq+uIZy5zCH8GD91r/OJglAYABUNdaFqaNEXR4ED7nRor07KZ4h 6DMzmIXEy2RXTPYYrFMY/RdtOUw6r5dgWr+RjqcVw64TqasZB1s3iTFHgRMq5o8RkCPB Fw== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2130.oracle.com with ESMTP id 2h3vv3802q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 02 Apr 2018 21:56:31 +0000 Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w32LuUtM018930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 2 Apr 2018 21:56:30 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w32LuTlY001157 for ; Mon, 2 Apr 2018 21:56:30 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4666.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8851 signatures=668697 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804020229 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [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:144811 Archived-At: I'm afraid this reads a bit like gobbledygook, to me. And if I think I understand it, it doesn't seem to correspond to the behavior I see. Of course, the "out" is that it says, "In general, it is not a good idea to position a frame relative to the right or bottom edge of its display." But the only case discussed in that context is an initial/new frame. And there is a similar caveat about using not using floating-point with decorated frames. But again, it speaks only about "when CREATING decorated frames.=20 The text talks about positioning flush to edges of the "display", which I'm interpreting as the dominating monitor in the case of multiple monitors. (Is that wrong?) What I see is that the dominating monitor seems to have no effect, so I wonder what "display" means here. And in fact using any of the following on an existing frame dominated by the left monitor or the right monitor sends the frame to the _same_ location: its left edge flush with the left edge of the right monitor: (modify-frame-parameters nil '((left . 0.0))) (modify-frame-parameters nil '((left . - 0.0))) (modify-frame-parameters nil '((left . 1.0))) (modify-frame-parameters nil '((left . - 1.0))) (And adding (user-position . t) changes nothing in this regard.) What am I misunderstanding, here? Can this text please be made more clear? It's not really clear how floating-point values are supposed to be used or what they are supposed to do. Dunno whether the behavior I'm seeing is bugged or the doc is wrong or I'm misunderstanding it. In GNU Emacs 27.0.50 (build 3, x86_64-w64-mingw32) of 2018-03-21 Repository revision: e70d0c9e66d7a8609450b2889869d16aeb0363b5 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install -C 'CFLAGS=3D-O2 -static -g3''