From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Negative positions in frame parameters Date: Tue, 13 Apr 2010 10:33:02 -0700 Message-ID: References: <87y6gr30i0.fsf@uwakimon.sk.tsukuba.ac.jp><87633v72e5.fsf@home.jasonrumney.net> <4BC4A67F.3060400@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1271180092 26860 80.91.229.12 (13 Apr 2010 17:34:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2010 17:34:52 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 13 19:34:48 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O1k0e-0003Mx-BK for ged-emacs-devel@m.gmane.org; Tue, 13 Apr 2010 19:34:48 +0200 Original-Received: from localhost ([127.0.0.1]:57557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1k0d-0003gI-IA for ged-emacs-devel@m.gmane.org; Tue, 13 Apr 2010 13:34:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1k0Y-0003gD-HD for emacs-devel@gnu.org; Tue, 13 Apr 2010 13:34:42 -0400 Original-Received: from [140.186.70.92] (port=35659 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1k0W-0003g5-Dq for emacs-devel@gnu.org; Tue, 13 Apr 2010 13:34:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1k0V-00075M-26 for emacs-devel@gnu.org; Tue, 13 Apr 2010 13:34:40 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:17648) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1k0U-00075A-OY for emacs-devel@gnu.org; Tue, 13 Apr 2010 13:34:38 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o3DHYaVC016449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Apr 2010 17:34:37 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3DA7eEh030637 for ; Tue, 13 Apr 2010 17:34:29 GMT Original-Received: from abhmt021.oracle.com by acsmt354.oracle.com with ESMTP id 171468811271179983; Tue, 13 Apr 2010 10:33:03 -0700 Original-Received: from dradamslap1 (/141.144.233.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 13 Apr 2010 10:33:02 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4BC4A67F.3060400@swipnet.se> Thread-Index: AcrbLNtu0pBHfE3ZQ12OaX40oQeo6AAAT0xA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4BC4AB2B.012C:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123588 Archived-At: BTW, apparently the `invisible' `display' property affects frame positioning. I use dired-details.el, which puts an overlay on all of the Dired fields except the file name. The overlay has `evaporate' = t, `invisible' = t, and `before-string' = "". As a result, if I do (make-frame '((left . -10) (top . -10))) with such a Dired frame current, it positions the new frame as if its right edge were the same as the original frame before hiding the details. That is, the narrow frame (because no permissions, time etc. are shown) appears in the middle of the screen - it does not have its right edge 10 pixels past the screen right edge. It is not the right edge of the actual frame that is positioned correctly, but the right edge of the frame as it would have appeared without hiding anything. Dunno if this should be considered a bug or not, but it's interesting. ;-)