From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Neumerkel Newsgroups: gmane.emacs.devel Subject: Re: "Position Parameters" in lispref/frames.texi Date: Tue, 22 Jan 2008 06:50:41 +0100 Message-ID: References: <479466BD.9090603@gmx.at> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1200991517 22253 80.91.229.12 (22 Jan 2008 08:45:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2008 08:45:17 +0000 (UTC) Cc: ulrich@complang.tuwien.ac.at, emacs-devel@gnu.org To: rgm@gnu.org, rudalics@gmx.at Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 22 09:45:36 2008 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.50) id 1JHElC-0002sh-I8 for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2008 09:45:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHEkh-0001Pe-QG for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2008 03:45:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHC2G-00039j-Nv for emacs-devel@gnu.org; Tue, 22 Jan 2008 00:51:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHC2B-00032H-DV for emacs-devel@gnu.org; Tue, 22 Jan 2008 00:50:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHC2B-000324-7c for emacs-devel@gnu.org; Tue, 22 Jan 2008 00:50:55 -0500 Original-Received: from a4.complang.tuwien.ac.at ([128.130.173.65]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JHC27-00053f-CW; Tue, 22 Jan 2008 00:50:51 -0500 Original-Received: from ulrich by a4.complang.tuwien.ac.at with local (Exim 4.63) (envelope-from ) id 1JHC1x-0004Gk-AF; Tue, 22 Jan 2008 06:50:41 +0100 In-Reply-To: <479466BD.9090603@gmx.at> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 22 Jan 2008 03:44:58 -0500 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:87280 Archived-At: This is only a very superficial comparison. I compared the current version (git clone git://git.sv.gnu.org/emacs.git) with the official 21.4 (i.e. 21.4a). In x_calc_absolute_position the flag is 0x13 in place of 0x3. (If the flag is set there manually, emacs behaves correctly). I traced it backwards towards x_set_offset. Here the change_gravity condition is executed in the current emacs, but not in 21.4. I simply redid the comparison below. This works now under the following configurations: failsafe qvwm 1.1.12 (Senzoku) [built into IGEL-XTerms] KDE 2.1.1 However, at startup my geometries Emacs.geometry: 101x39+-6+0 are still ignored, but this has been the case since some time... (the last time it worked is 20.7). diff --git a/src/xterm.c b/src/xterm.c index 574c398..42b2ac0 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8366,7 +8366,7 @@ x_set_offset (f, xoff, yoff, change_gravity) { int modified_top, modified_left; - if (change_gravity != 0) + if (change_gravity > 0) { FRAME_X_OUTPUT (f)->left_before_move = f->left_pos; FRAME_X_OUTPUT (f)->top_before_move = f->top_pos;