From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#13479: Cross Compiling for ARM Date: Wed, 23 Jan 2013 08:31:24 +0100 Message-ID: <50FF91CC.4020404@gmx.at> References: <50F98C7B.8090708@gmx.at> <50FA7153.403@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020209070507090100000106" X-Trace: ger.gmane.org 1358926317 3215 80.91.229.3 (23 Jan 2013 07:31:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2013 07:31:57 +0000 (UTC) Cc: 13479@debbugs.gnu.org To: Ross Biro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 23 08:32:15 2013 Return-path: Envelope-to: geb-bug-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 1Txuob-0008Ra-Aq for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2013 08:32:09 +0100 Original-Received: from localhost ([::1]:47212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxuoK-0002kS-5A for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jan 2013 02:31:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxuoH-0002kH-W6 for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:31:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxuoG-0004AX-QD for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:31:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxuoG-0004AS-Ml for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:31:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TxupR-0007wU-Lr for bug-gnu-emacs@gnu.org; Wed, 23 Jan 2013 02:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Jan 2013 07:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13479-submit@debbugs.gnu.org id=B13479.135892636530493 (code B ref 13479); Wed, 23 Jan 2013 07:33:01 +0000 Original-Received: (at 13479) by debbugs.gnu.org; 23 Jan 2013 07:32:45 +0000 Original-Received: from localhost ([127.0.0.1]:45517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TxupA-0007vm-Mp for submit@debbugs.gnu.org; Wed, 23 Jan 2013 02:32:45 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:59597) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Txup7-0007vZ-3C for 13479@debbugs.gnu.org; Wed, 23 Jan 2013 02:32:42 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0M7FLk-1T0zMZ3d5S-00x284 for <13479@debbugs.gnu.org>; Wed, 23 Jan 2013 08:31:25 +0100 Original-Received: (qmail invoked by alias); 23 Jan 2013 07:31:25 -0000 Original-Received: from 62-47-40-128.adsl.highway.telekom.at (EHLO [62.47.40.128]) [62.47.40.128] by mail.gmx.net (mp002) with SMTP; 23 Jan 2013 08:31:25 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/he7BM0MnhS3aS/8Vd9M8hYHCfDHAFa904xBP1Fv t1jgLn7AApLyCe In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70196 Archived-At: This is a multi-part message in MIME format. --------------020209070507090100000106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > I don't have a wset_new_total. Is that a new function? I'm using mostly > stock 24.2. These are setter functions whose purpose I forgot. I attach a manually and untested reconstruction of the original assignments. martin --------------020209070507090100000106 Content-Type: text/plain; name="resize_root_window_vertically.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="resize_root_window_vertically.diff" === modified file 'src/window.c' --- src/window.c 2013-01-11 23:08:55 +0000 +++ src/window.c 2013-01-19 09:54:07 +0000 @@ -4207,8 +4207,15 @@ root = FRAME_ROOT_WINDOW (f); r = XWINDOW (root); - value = call2 (Qwindow_resize_root_window_vertically, - root, make_number (- delta)); + if (WINDOW_LIVE_P (root)) + { + r->new_total = make_number (XFASTINT (r->total_lines) - delta); + value = make_number (- delta); + } + else + value = call2 (Qwindow_resize_root_window_vertically, + root, make_number (- delta)); + if (INTEGERP (value) && window_resize_check (r, 0)) { block_input (); @@ -4245,8 +4252,15 @@ { root = FRAME_ROOT_WINDOW (f); r = XWINDOW (root); - value = call2 (Qwindow_resize_root_window_vertically, - root, make_number (size - 1)); + if (WINDOW_LIVE_P (root)) + { + r->new_total = make_number (XFASTINT (r->total_lines) + size - 1); + value = make_number (size - 1); + } + else + value = call2 (Qwindow_resize_root_window_vertically, + root, make_number (size - 1)); + if (INTEGERP (value) && window_resize_check (r, 0)) { block_input (); --------------020209070507090100000106--