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#19060: [FIX INCLUDED] Off-by-one-line scrolling bug in window_scroll_pixel_based Date: Sun, 16 Nov 2014 12:37:03 +0100 Message-ID: <54688C5F.9090201@gmx.at> References: 5467354D.3000600@gmx.at <54675ED2.9030901@alice.it> <54676426.8030505@gmx.at> <54678AE4.6050304@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1416137917 21837 80.91.229.3 (16 Nov 2014 11:38:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2014 11:38:37 +0000 (UTC) To: angelo.graziosi@alice.it, 19060@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 16 12:38:30 2014 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 1XpyA1-000767-LL for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 12:38:29 +0100 Original-Received: from localhost ([::1]:43493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpyA1-0000Wm-7o for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 06:38:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpy9k-0008St-En for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:38:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpy9a-0001CX-Jc for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:38:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpy9a-0001CT-Gz for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xpy9a-0005bf-5D for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Nov 2014 11:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19060 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Angelo Graziosi , bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141613787121522 (code B ref -1); Sun, 16 Nov 2014 11:38:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2014 11:37:51 +0000 Original-Received: from localhost ([127.0.0.1]:34354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xpy9P-0005b4-Di for submit@debbugs.gnu.org; Sun, 16 Nov 2014 06:37:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37806) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xpy9N-0005ak-Hz for submit@debbugs.gnu.org; Sun, 16 Nov 2014 06:37:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpy98-0001Aw-Bk for submit@debbugs.gnu.org; Sun, 16 Nov 2014 06:37:44 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpy98-0001As-9P for submit@debbugs.gnu.org; Sun, 16 Nov 2014 06:37:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpy90-00081N-A9 for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:37:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpy8p-00010K-LO for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:37:26 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:56849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpy8p-000109-Bb for bug-gnu-emacs@gnu.org; Sun, 16 Nov 2014 06:37:15 -0500 Original-Received: from [178.190.163.170] ([178.190.163.170]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MYfre-1XUdtj1niE-00VQID; Sun, 16 Nov 2014 12:37:13 +0100 In-Reply-To: <54678AE4.6050304@alice.it> X-Provags-ID: V03:K0:1udgAGfcjhCKLp1Ib101u2PdLCOoM5XLpCxIgPkZxd+n/yi/Tw6 ogsOIV1zWqg0FZ06EaoeTN/Erxk8oPxWy11zUqMEw9boRO6oGQgiBe8RWTKjhe6exmt5dFG 4iFvbXazphqkT8eASDt6JIiGgeXF2aMbmYFNEvfvXN9WQB7lNcy4eNMpK0vBD4E1/kLemPi pmKiJ+FIGi/vTqFKvQJoA== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:96102 >> (you can use the function `window--dump-frame' for that) and what the >> height stored by `desktop-save' is. I suppose this is somewhere in a >> cons whose car is something like `height' or `frame-height' or the like. > > I am afraid, I wasn't able to use that function.. How to evaluate it? I tried a few command but they didn't work. M-: (window--dump-frame) The results appear in a buffer called *window-frame-dump*. Do this please once before exiting one session and once after entering the subsequent session and post the respective buffer contents here. And please do that in the appropriate thread, namely for bug#19048. > First I removed the current desktop and history files. So I started > Emacs and moved it so that it was centered in the Windows desktop (I > tried this with the Cygwin build..). Then I closed Emacs and it asked > to save the desktop. Yes - and this generated the "desktop-00" > file. Then I restarted Emacs and closed it obtaining the "desktop-01" > file. I repeated this 2 times obtaining "desktop-03". After repeating > this a few times I obtained the "desktop" file: now Emacs frame is > conspicuously short. I suppose the frame height is stored in the (height . xx) conses. In desktop-00 you have (height . 34), in desktop-01 (height . 33) and in desktop-03 (height . 31). So your frame height seems to decrease by one line every time you restore it. Using `window--dump-frame' we should be able to see what the frame height was before exiting one session and after restoring it in another one and hopefully why the frame decreases by that line. Thanks, martin