From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: GNU Emacs no longer honours top and left parameters to make-frame Date: Thu, 21 Sep 2006 22:30:47 +0200 Organization: nil Message-ID: References: <87ac4vxi6y.fsf@dre.vanderbilt.edu> <87odta5ujq.fsf@neutrino.caeruleus.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158870781 515 80.91.229.2 (21 Sep 2006 20:33:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Sep 2006 20:33:01 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 21 22:33:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GQVDs-0007QR-3O for ged-emacs-devel@m.gmane.org; Thu, 21 Sep 2006 22:32:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQVDr-00011o-Ip for ged-emacs-devel@m.gmane.org; Thu, 21 Sep 2006 16:32:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQVDZ-0000za-Oq for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:32:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQVDX-0000xC-VK for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:32:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQVDX-0000wq-4d for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:32:19 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GQVH6-00057f-OD for emacs-devel@gnu.org; Thu, 21 Sep 2006 16:36:00 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQVCo-00075e-3A for emacs-devel@gnu.org; Thu, 21 Sep 2006 22:31:34 +0200 Original-Received: from p54a52f74.dip0.t-ipconnect.de ([84.165.47.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 22:31:34 +0200 Original-Received: from angeli by p54a52f74.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Sep 2006 22:31:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p54a52f74.dip0.t-ipconnect.de Cancel-Lock: sha1:+2lSSik3Y89gBujOf5tgEkZ5WoI= 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:60076 Archived-At: * Ralf Angeli (2006-09-20) writes: > * Krishnakumar B. (2006-09-20) writes: > >> The following code that I had in my .emacs no longer works, i.e., the top >> and left values are not honoured by Emacs, and Emacs places my frames at >> arbitrary locations on startup. > [...] >> | (make-frame `((width . 80) >> | (left . ,left) >> | (top . ,top) >> | (height . ,height) >> | (tool-bar-lines . 0)))) > > I'll have a look ... Hm, w32_createwindow would have to know these values. But the only object explicitely passed to the function is the frame. The frame struct contains top_pos and left_pos but we don't know when we can use them. Does anybody know if there is another variable where the (top and left) values given to `make-frame' are stored and which could be used by w32_createwindow to look them up? -- Ralf