From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9324: 24.0.50; Movement past end of screen causes weird jump Date: Fri, 26 Aug 2011 13:20:17 +0300 Message-ID: <83vctkfp9a.fsf@gnu.org> References: <00373C62-5B35-44BB-8770-CC91E8161366@gmail.com> <87bovm5ssx.fsf@gmail.com> <8362ltst7w.fsf@gnu.org> <04093F70-5A0B-4123-8C18-38FAAD2A6DEC@gmail.com> <831uwhsmx7.fsf@gnu.org> <0FDD993E-173A-482A-937B-8DE5E330D4F4@gmail.com> <83ty9dqq54.fsf@gnu.org> <9ACB0EEF-FA00-4644-9D76-727BFDD9CECF@gmail.com> <83r54hqkz8.fsf@gnu.org> <83vcts48z5.fsf@gnu.org> <59F6F8C9-0263-47D2-A6CF-0C52A89AD927@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314354092 11958 80.91.229.12 (26 Aug 2011 10:21:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2011 10:21:32 +0000 (UTC) Cc: 9324-done@debbugs.gnu.org, antoine.levitt@gmail.com To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 26 12:21:28 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwtXQ-0007qF-99 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2011 12:21:24 +0200 Original-Received: from localhost ([::1]:42751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwtXP-000847-QL for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2011 06:21:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwtXM-00083Z-FD for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2011 06:21:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwtXL-0004Wx-9D for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2011 06:21:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwtXL-0004Wt-7E for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2011 06:21:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QwtZy-0003P1-RP for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2011 06:24:02 -0400 Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Aug 2011 10:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 9324 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 9324@debbugs.gnu.org, eliz@gnu.org Original-Received: via spool by 9324-done@debbugs.gnu.org id=D9324.131435420213025 (code D ref 9324); Fri, 26 Aug 2011 10:24:02 +0000 Original-Received: (at 9324-done) by debbugs.gnu.org; 26 Aug 2011 10:23:22 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwtZJ-0003O1-Ly for submit@debbugs.gnu.org; Fri, 26 Aug 2011 06:23:22 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QwtZG-0003Nr-KK for 9324-done@debbugs.gnu.org; Fri, 26 Aug 2011 06:23:20 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQJ00H003XYPM00@a-mtaout22.012.net.il> for 9324-done@debbugs.gnu.org; Fri, 26 Aug 2011 13:20:16 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.21.112]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQJ00GDD61OLQD0@a-mtaout22.012.net.il>; Fri, 26 Aug 2011 13:20:13 +0300 (IDT) In-reply-to: <59F6F8C9-0263-47D2-A6CF-0C52A89AD927@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 26 Aug 2011 06:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50361 Archived-At: > From: Ivan Andrus > Date: Thu, 25 Aug 2011 22:11:37 +0200 > Cc: antoine.levitt@gmail.com, > 9324@debbugs.gnu.org > > Indeed and that is very important to reproducing this bug. What is your frame size? Actually when building with athena I couldn't get the frame big enough, so I changed the test case a little. At the end of the day what seems important is that the first line showing be a continuation line. Then executing the (forward-sexp) gives the buggy behavior. I've managed to reproduce this. Please note that most of the `progn' in bug-example-3.el is just clutter and is not needed to see the problem (that clutter is part of the reason why it took so long to see the problem). Frame dimensions, mode-line face, exactly how you scroll and recenter -- all these are irrelevant. All you need is this: emacs -Q -l highlight-parentheses.el -l hl-sexp.el bug-example-3.el C-u 1 C-v M-x goto-line RET 24 RET M-x hl-sexp-mode RET M-x highlight-parentheses-mode RET C-M-f After this, Emacs moves point to be centered in the window, instead of scrolling the window to show point at the end of the buffer, after the sexp it was supposed to move across as result of C-M-f. I fixed this in revision 105577 on the trunk.