From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gottlieb@nyu.edu Newsgroups: gmane.emacs.help Subject: trouble with modify-frame-parameters Date: Mon, 11 May 2015 13:38:39 -0400 Message-ID: <87zj5b6mlc.fsf@nyu.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431365956 20731 80.91.229.3 (11 May 2015 17:39:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 17:39:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 11 19:39:05 2015 Return-path: Envelope-to: geh-help-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 1YrrfR-000443-Hb for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 19:39:01 +0200 Original-Received: from localhost ([::1]:38946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrrfQ-000134-Re for geh-help-gnu-emacs@m.gmane.org; Mon, 11 May 2015 13:39:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrrfC-00011P-LB for help-gnu-emacs@gnu.org; Mon, 11 May 2015 13:38:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrrf8-0005ED-1d for help-gnu-emacs@gnu.org; Mon, 11 May 2015 13:38:46 -0400 Original-Received: from mx2.cims.nyu.edu ([128.122.49.96]:50617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrrf7-0005E7-UM for help-gnu-emacs@gnu.org; Mon, 11 May 2015 13:38:41 -0400 Original-Received: from smtp.cs.nyu.edu (smtp.cs.nyu.edu [128.122.49.97]) by mx2.cims.nyu.edu (8.14.4+Sun/8.14.4) with ESMTP id t4BHcejO024624 for ; Mon, 11 May 2015 13:38:40 -0400 (EDT) Original-Received: from newlap.localdomain (ool-18be5dbd.dyn.optonline.net [24.190.93.189]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id t4BHcdR7024621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 11 May 2015 13:38:40 -0400 (EDT) Original-Received: by newlap.localdomain (Postfix, from userid 1000) id 4303BA947C; Mon, 11 May 2015 13:38:39 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.1 (mx2.cims.nyu.edu [128.122.49.96]); Mon, 11 May 2015 13:38:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.97.4 at mx2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.73 on 128.122.49.96 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 128.122.49.96 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104396 Archived-At: I execute the following function in *scratch* on a fresh emacs -Q (modify-frame-parameters ; for 2560x1600 nil '((fullscreen . fullheight) (width . 176) (left . -1300))) My screen is 2560x1600. Emacs version is 24.4. System is gentoo/gnome. The frame does become fullheight and the width does become 176. However, left is not correct (it should be flush left but is nearly centered. The weird part is if I execute the same command again (a second C-j in *scratch), the frame moves to the correct, flush left, position. An explanation would be appreciated. thanks, allan PS If I use the more natural (left . 0) the frame moves near the left edge but is not flush left (even if executed twice).