From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [az@ftc.ru: hl-line-mode conflicts with scroll-margin] Date: Mon, 14 Jun 2004 20:41:52 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87fz8yt4tb.fsf@mail.jurta.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087235376 21841 80.91.224.253 (14 Jun 2004 17:49:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2004 17:49:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 14 19:49:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZva8-0003cO-00 for ; Mon, 14 Jun 2004 19:49:16 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZva7-0000Lj-00 for ; Mon, 14 Jun 2004 19:49:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZvb1-00072r-SM for emacs-devel@quimby.gnus.org; Mon, 14 Jun 2004 13:50:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZvas-00072Y-57 for emacs-devel@gnu.org; Mon, 14 Jun 2004 13:50:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZvap-00071H-9e for emacs-devel@gnu.org; Mon, 14 Jun 2004 13:50:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZvap-000717-8R for emacs-devel@gnu.org; Mon, 14 Jun 2004 13:49:59 -0400 Original-Received: from [66.33.219.4] (helo=spork.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZvZr-0002et-GW for emacs-devel@gnu.org; Mon, 14 Jun 2004 13:49:01 -0400 Original-Received: from mail.jurta.org (80-235-32-141-dsl.mus.estpak.ee [80.235.32.141]) by spork.dreamhost.com (Postfix) with ESMTP id A667811DC0F; Mon, 14 Jun 2004 10:48:53 -0700 (PDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "14 Jun 2004 14:13:12 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24958 storm@cua.dk (Kim F. Storm) writes: > The following patch solves the problem. Here is another related bug report for you :-) If scroll-margin is not 0 and font-lock-mode is turned on, i.e. (progn (setq scroll-margin 5) (global-font-lock-mode)) then after moving the cursor down until it reaches the fifth line from the bottom of the window the cursor is placed in the center of the window where it starts jumping forth and back: after 1 second it moves to the end of the line, and after another 1 second moves to the beginning of the following line. This bug can be reproduced on GNU/Linux in Emacs versions starting at least from 21.3. -- Juri Linkov http://www.jurta.org/emacs/