From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1166: 23.0.60; Point jumps instead of scrolling in the new line Date: Thu, 16 Oct 2008 17:32:46 +0200 Message-ID: References: <48F4DD87.4000505@gmail.com> Reply-To: Lennart Borgman , 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 1224172239 13732 80.91.229.12 (16 Oct 2008 15:50:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 15:50:39 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 16 17:51:38 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 1KqV8D-0000IH-5f for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 17:51:21 +0200 Original-Received: from localhost ([127.0.0.1]:60399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqV78-00088w-DX for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Oct 2008 11:50:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqV70-00083N-8o for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 11:50:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqV6w-00081H-Pm for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 11:50:04 -0400 Original-Received: from [199.232.76.173] (port=33877 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqV6w-000819-LD for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 11:50:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50344) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqV6w-0004Sr-5L for bug-gnu-emacs@gnu.org; Thu, 16 Oct 2008 11:50:02 -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 m9GFnx0N009120; Thu, 16 Oct 2008 08:49:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9GFe3Xn006817; Thu, 16 Oct 2008 08:40:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 16 Oct 2008 15: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 submit@emacsbugs.donarmstrong.com id=B.12241711935580 (code B ref -1); Thu, 16 Oct 2008 15:40:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 16 Oct 2008 15:33:13 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9GFX9Rd005574 for ; Thu, 16 Oct 2008 08:33:10 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:56439) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KqUo7-0002wQ-8z for emacs-pretest-bug@gnu.org; Thu, 16 Oct 2008 11:30:35 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KqUqa-0001KR-4T for emacs-pretest-bug@gnu.org; Thu, 16 Oct 2008 11:33:08 -0400 Original-Received: from gv-out-0910.google.com ([216.239.58.189]:51636) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqUqZ-0001KH-J5 for emacs-pretest-bug@gnu.org; Thu, 16 Oct 2008 11:33:07 -0400 Original-Received: by gv-out-0910.google.com with SMTP id i36so35093gve.17 for ; Thu, 16 Oct 2008 08:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EPdX97ZJGxBmP5mGQCajP/d/3YpgxVLkRElpLst1THE=; b=f0kTnoPZ03jAFTlKVcZQu0UhGSFYAdOEL0A3wAOhEk1vYjMR+xD+MiFz28+bn2OTB/ nP6nRwkvAnEV1aXtvH5NNRB9Iacjv3J9G2ssK5FyM4erhmlGzxmqByqSzyOPxznZyDUt kS0kvnVT/Ig4nIp7CLoj+9r2uztWDrBSwSQ/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KXtIPKuVJCZzl8gkJjPa9NvRMKQYZdG9ufDVzrHENOHh8c3vucAic7KzFzYnQcVnZ3 CoCpizNzE0qWPlB7jSkHWo9K5/jrzw8LCNnxBmlX5sS74w4/ieR6Wtp9KZRzKNrEeXZ1 25i/sRu9Fe3eBJn0c38w1OJSQOgdZrKI4GX3U= Original-Received: by 10.86.74.4 with SMTP id w4mr2771012fga.58.1224171167033; Thu, 16 Oct 2008 08:32:47 -0700 (PDT) Original-Received: by 10.86.65.3 with HTTP; Thu, 16 Oct 2008 08:32:46 -0700 (PDT) In-Reply-To: <48F4DD87.4000505@gmail.com> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 16 Oct 2008 11:50:04 -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:21542 gmane.emacs.pretest.bugs:23225 Archived-At: 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 ...