From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#19060: [FIX INCLUDED] Off-by-one-line scrolling bug in window_scroll_pixel_based Date: Sat, 15 Nov 2014 18:18:28 +0100 Message-ID: <54678AE4.6050304@alice.it> References: 5467354D.3000600@gmx.at <54675ED2.9030901@alice.it> <54676426.8030505@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060702020806010208070305" X-Trace: ger.gmane.org 1416072028 10720 80.91.229.3 (15 Nov 2014 17:20:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Nov 2014 17:20:28 +0000 (UTC) To: rudalics@gmx.at, 19060@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 15 18:20:22 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 1Xph1G-0005tj-ID for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2014 18:20:18 +0100 Original-Received: from localhost ([::1]:41370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xph1G-0005BA-4R for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Nov 2014 12:20:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xph17-00051b-5F for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:20:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xph10-0003in-Fb for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:20:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xph10-0003iW-DI for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xph0z-0002Un-OX for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Nov 2014 17:20:01 +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: martin rudalics , bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14160719579529 (code B ref -1); Sat, 15 Nov 2014 17:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Nov 2014 17:19:17 +0000 Original-Received: from localhost ([127.0.0.1]:34053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xph0G-0002Td-6l for submit@debbugs.gnu.org; Sat, 15 Nov 2014 12:19:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47140) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xph0A-0002TP-Oo for submit@debbugs.gnu.org; Sat, 15 Nov 2014 12:19:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xph03-0003YL-Po for submit@debbugs.gnu.org; Sat, 15 Nov 2014 12:19:10 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xph03-0003YD-Nm for submit@debbugs.gnu.org; Sat, 15 Nov 2014 12:19:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpgzx-0004m0-QO for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:19:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpgzr-0003W5-IA for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:18:57 -0500 Original-Received: from smtp204.alice.it ([82.57.200.100]:9606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpgzr-0003Vz-7E for bug-gnu-emacs@gnu.org; Sat, 15 Nov 2014 12:18:51 -0500 Original-Received: from [192.168.1.102] (87.21.227.179) by smtp204.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 542BEACC08953EB9; Sat, 15 Nov 2014 18:18:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <54676426.8030505@gmx.at> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:96072 This is a multi-part message in MIME format. --------------060702020806010208070305 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Il 15/11/2014 15:33, martin rudalics ha scritto: > > Apparently, this seem related, in some way, to what I flagged here: > > > > http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-11/msg00621.html > > > > ..or not? > > Maybe. But I have no idea what your report describes. IIUC you are > using `desktop-save' to save the window configuration across sessions > and when you restart Emacs its frame's height is one line less. Is that > correct? Then please tell us how much the height decreases in pixels Yes, even if each time not always the same size: sometimes more, sometimes less. I have quantified this in about one line (or, if you prefer, about the height of the minibuffer). I would say 10-20 pixel. > (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. I have attached a tar-ball with a few examples of desktop file. They have been obtained in this way. 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. Ciao, Angelo. --------------060702020806010208070305 Content-Type: application/x-gzip; name="desktop_files.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="desktop_files.tar.gz" H4sIADqFZ1QAA+1YS28bNxD22b+C0MkOQIPcp6Rcijhub7kkQA9FD9QuJRHZJdUl5Ud/fWe4 q2fsNkFt17XnEwyZM8PhzPD1UbX2X4NbcSFOngwCUGTZiSiELHMZv4WQUQ7I0qI8kUmWylLI PMtPhJRFmp6wJwxph7UPqmPsRNmFbtzDdp+c1c8RzzPj/XvG33HWulpPmW5V5Xlj/Oo9q1xt 7GIja9eNjpan2OHRgN4+9iuQ/WwazeauY1c44uOPc9lpFXTNPqvAPrlrJnMmy2lWTJMJS4TM 9mOZD7G0YHutO2+cBZsCTWJ0O2F+IS5ycSFPUfdL42aqYV5XAZTT0zOvwx+sHraYV9e65vNO tRrk7Lftf5KdJbIQJUvTIi2ZTHLYFUycs7OhK7tgIxh+dM5G/TL96YsKzhmrR8yaJv6dAebO Bj5T1Vdta7a2xled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