From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#1166: 23.0.60; Point jumps instead of scrolling in the new line Date: Sun, 02 Feb 2014 16:06:51 -0800 Message-ID: <87mwi9cb50.fsf@building.gnus.org> References: <48F4DD87.4000505@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391386152 26157 80.91.229.3 (3 Feb 2014 00:09:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2014 00:09:12 +0000 (UTC) Cc: 1166@debbugs.gnu.org To: "Lennart Borgman" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 03 01:09:19 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 1WA76E-0004ms-8J for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2014 01:09:18 +0100 Original-Received: from localhost ([::1]:43369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA76D-0001jh-Qq for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Feb 2014 19:09:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA765-0001ig-4s for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 19:09:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WA75y-00065P-Rh for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 19:09:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA75y-00065L-OB for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 19:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WA75y-00029T-9s for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 19:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Feb 2014 00:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 1166-submit@debbugs.gnu.org id=B1166.13913860848196 (code B ref 1166); Mon, 03 Feb 2014 00:09:02 +0000 Original-Received: (at 1166) by debbugs.gnu.org; 3 Feb 2014 00:08:04 +0000 Original-Received: from localhost ([127.0.0.1]:46852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WA751-000287-IH for submit@debbugs.gnu.org; Sun, 02 Feb 2014 19:08:03 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:49699) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WA74z-00027Z-0T for 1166@debbugs.gnu.org; Sun, 02 Feb 2014 19:08:01 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WA74l-0007qU-7s; Mon, 03 Feb 2014 01:07:47 +0100 In-Reply-To: (Lennart Borgman's message of "Thu, 16 Oct 2008 17:32:46 +0200") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WA74l-0007qU-7s MailScanner-NULL-Check: 1391990867.69185@gOjzmSNo/meA91s3Ub+PLw 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:84479 Archived-At: "Lennart Borgman" writes: > On Tue, Oct 14, 2008 at 7:57 PM, Lennart Borgman (gmail) > wrote: >> I have found a bug where point jumps to a new postion instead of a new >> line beeing scrolled into the selected window. I am unable to narrow it >> down, but I can reproduce it (but I am not sure about what makes it >> happens). Just to get some thoughts I write down what I have seen so far >> here. >> >> The scenario is this: >> - Point is on the last line in the window. >> - I press "o" in viper. This opens a line below the current line and >> puts the point on this line. >> >> What I expect to happen is that this new line is scrolled into the >> window. Sometimes this happens. Sometimes instead point jumps up, maybe >> 10 lines (I did not count them at all) and the window is not scrolled so >> the new line is not visible. >> >> There are some other ingredients too: >> - I believe that nxml-mode (or a derivative) must be the major mode. >> - If I remove nxml-after-change from after-change-functions the bug >> disappears. >> - If I try to use edebug it also disappears. >> >> Maybe those ingredients also are required, I am not sure since I can't >> easily reproduce the bug yet: >> - visual-line-mode. >> >> Does anyone have any idea of how to find out what the problem is? In >> nxml-after-change there is a whole bunch of "save-*" macros. I commented >> out them all, but the bug still appears. But where is the scrolling done? > > It would help if someone could tell me where the scrolling should have > taken place. To begin with: > > - Where in command_loop_1? > - And then of course a little bit more exact ... Is this problem still present in Emacs 24? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/