From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug in set-frame-position when frame is small? Date: Wed, 8 Sep 2004 23:53:54 -0700 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094712931 16197 80.91.224.253 (9 Sep 2004 06:55:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Sep 2004 06:55:31 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 09 08:55:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5Iq3-0005hF-00 for ; Thu, 09 Sep 2004 08:55:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5IvM-0000ff-GH for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Sep 2004 03:00:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C5IvK-0000fE-4a for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2004 03:00:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C5IvI-0000ev-83 for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2004 03:00:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5IvI-0000es-4Z for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2004 03:00:48 -0400 Original-Received: from [141.146.126.230] (helo=agminet03.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C5Ipg-0007M0-CY for bug-gnu-emacs@gnu.org; Thu, 09 Sep 2004 02:55:00 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.191.10]) by agminet03.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i896rwsp005650 for ; Wed, 8 Sep 2004 23:53:58 -0700 Original-Received: from rgmgw1.us.oracle.com (localhost [127.0.0.1]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id i896rvoL029642 for ; Thu, 9 Sep 2004 00:53:57 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-66-86.vpn.oracle.com [141.144.66.86]) by rgmgw1.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id i896rvRD029627 for ; Thu, 9 Sep 2004 00:53:57 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:8974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8974 Tested on: - Emacs 20.7 on Windows (GNU Emacs 20.7.3 (i386-*-nt5.1.2600) of Thu Dec 21 2000 on buffy). - Emacs 21.3 on Windows (GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of 2004-04-27 on BERATUNG4). Adjust a frame so that it is small enough that the menu-bar is on two lines. Execute this: (set-frame-position (selected-frame) (+ (frame-parameter (selected-frame) 'left) 10) (frame-parameter (selected-frame) 'top)) Instead of moving only to the right, the frame also moves down. Replace + by - and re-execute. The frame moves left and down. There should be no down movement. - Drew