From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Friedrich Laher Newsgroups: gmane.emacs.help Subject: Re: set-frame-position - is it a bug Date: Fri, 05 Aug 2005 18:47:12 +0200 Message-ID: <42F39810.7010708@schmieder-laher.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123261277 13334 80.91.229.2 (5 Aug 2005 17:01:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2005 17:01:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 05 19:01:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E15YI-0007bp-Nk for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Aug 2005 19:00:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E15bA-0005ie-8w for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Aug 2005 13:03:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E15Z2-0005Ru-H7 for help-gnu-emacs@gnu.org; Fri, 05 Aug 2005 13:00:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E15Yq-0005Ly-Gg for Help-gnu-emacs@gnu.org; Fri, 05 Aug 2005 13:00:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E15Yq-0005Hs-FC for Help-gnu-emacs@gnu.org; Fri, 05 Aug 2005 13:00:44 -0400 Original-Received: from [212.227.126.186] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E15ZN-0005Su-4i for Help-gnu-emacs@gnu.org; Fri, 05 Aug 2005 13:01:17 -0400 Original-Received: from p54A18460.dip0.t-ipconnect.de [84.161.132.96] (helo=schmieder-laher.de) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML2Dk-1E15MJ16QF-0000Yf; Fri, 05 Aug 2005 18:47:47 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en Original-To: Help-gnu-emacs@gnu.org X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d0a55953dfb65f372f82ef4b3cf5b37b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28450 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28450 thank you folks it actually seems to be an interaction problem emacs <---> Windomanager if found out that the vertical position from frameparameters needs an adustment of -24 indipendent of the horizontal shift but if it's repeated fast, e.g. with (setq n 5) (while (> (setq n (1- n)) 0 ) (progn (setq fpx (cdr (assoc 'left (frame-parameters)))) (setq fpy (cdr (assoc 'top (frame-parameters)))) (setq fpx (+ 1 fpx)) (set-frame-position (next-frame) fpx (- fpy 24)) ) ) then the -24 are wrong I am running thaf in KDE 3.2.1, SusSE Linux 9.1, SMP Kernel ( Tyan Tiger Board with 2 processors ) emacs-version info 21.2.1 (i586-suse-linux X toolkit Xaw3d scroll bars ) of 2004-04-06 on gray