From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: bug#1166: 23.0.60; Point jumps instead of scrolling in the new line Date: Tue, 14 Oct 2008 20:29:20 +0200 Message-ID: <48F4E500.5070700@gmail.com> References: <48F4DD87.4000505@gmail.com> Reply-To: "Lennart Borgman \(gmail\)" , 1166@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224010230 845 80.91.229.12 (14 Oct 2008 18:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2008 18:50:30 +0000 (UTC) To: "Lennart Borgman (gmail)" , 1166@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 20:51:29 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KpozO-0001en-IK for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 20:51:26 +0200 Original-Received: from localhost ([127.0.0.1]:39338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpoyK-0002Wy-3b for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Oct 2008 14:50:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpoy3-0002Mr-LH for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 14:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpoy1-0002LB-Vp for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 14:50:03 -0400 Original-Received: from [199.232.76.173] (port=53722 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpoy1-0002Kt-MR for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 14:50:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53462) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kpoy1-0005cs-7v for bug-gnu-emacs@gnu.org; Tue, 14 Oct 2008 14:50:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EInxjt015785; Tue, 14 Oct 2008 11:49:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9EIe3oU013453; Tue, 14 Oct 2008 11:40:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 14 Oct 2008 18:40:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1166 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1166-submit@emacsbugs.donarmstrong.com id=B1166.122400906612202 (code B ref 1166); Tue, 14 Oct 2008 18:40:03 +0000 Original-Received: (at 1166) by emacsbugs.donarmstrong.com; 14 Oct 2008 18:31:06 +0000 Original-Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9EIV0L0012196 for <1166@emacsbugs.donarmstrong.com>; Tue, 14 Oct 2008 11:31:01 -0700 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64411 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kpoea-0006xe-3n; Tue, 14 Oct 2008 20:30:08 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <48F4DD87.4000505@gmail.com> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 081013-0, 2008-10-13), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1Kpoea-0006xe-3n. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Kpoea-0006xe-3n 5f126fd8351b17ce5385d080756cdac3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 14 Oct 2008 14:50:03 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21477 Archived-At: 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. Yes, visual-line-mode is required too. More precisely only `word-wrap' needs to be set to t for the bug to appear. > 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? > > > (Note that I am using my patched version right now when investigating > the bugs, but I do not think it matters here.) > > In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) > of 2008-10-14 (patched) > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include' > > > > >