From unknown Sun Jun 15 12:59:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#873 <873@debbugs.gnu.org> To: bug#873 <873@debbugs.gnu.org> Subject: Status: Annoying recentering when scrolling down Reply-To: bug#873 <873@debbugs.gnu.org> Date: Sun, 15 Jun 2025 19:59:12 +0000 retitle 873 Annoying recentering when scrolling down reassign 873 emacs submitter 873 "Juanma Barranquero" severity 873 normal thanks From lekktu@gmail.com Wed Sep 3 09:15:21 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-7.6 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 3 Sep 2008 16:15:22 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m83GFFsD012594 for ; Wed, 3 Sep 2008 09:15:16 -0700 Received: by an-out-0708.google.com with SMTP id b20so519843ana.9 for ; Wed, 03 Sep 2008 09:15:15 -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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=9PfTXkih1WBEo9EvWCvPIoLIXsPhsrDHcMqSZL3LZKc=; b=M0M8q0Q3sbI5VuN9O1332zkQBvd98DQVHUTmC+l60UWCPTfVVh2wPTbtsgx9dmdfgs 60zGnYBz3QIz6IOjnUmcYNBHu7MzVo050dBYm1zHm6aVpyYbBHp/i4566TwvqrW5Dbug DcQFw6q+Z3QaN2JjQZ0eI88GzwXrfKTjfa6h0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=nRUIARE37WUc/fN/hWIOByGN7Edyhg16yMZ5AN5i/AI4B4Nca17i7HUgd4iIK/pvgP 1D9pmTD7Muy6PaGQ2MjJ4pEwJb8sA8CiYprpktFtDjkfHgtmGy7ewMlW3EAPUHLv8fpJ 1+eWTeOIwRv262Si1vvXkimSzmF9Wp5/gqubw= Received: by 10.100.127.18 with SMTP id z18mr9251378anc.116.1220458514908; Wed, 03 Sep 2008 09:15:14 -0700 (PDT) Received: by 10.100.194.19 with HTTP; Wed, 3 Sep 2008 09:15:14 -0700 (PDT) Message-ID: Date: Wed, 3 Sep 2008 18:15:14 +0200 From: "Juanma Barranquero" To: "Emacs Bug Tracker" Subject: Annoying recentering when scrolling down MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: emacs Version: 23.0.60 Severity: normal After setting this in .emacs: (setq scroll-preserve-screen-position 'always scroll-conservatively most-positive-fixnum ;; any large number scroll-step 0) scroll-down causes recentering. This is a regression. The bug was apparently introduced by the following change: 2008-08-06 Chong Yidong * xdisp.c (try_scrolling): Use iterator to find the scroll margin, instead of window-end which does the wrong thing at eob. (try_cursor_movement): Minor optimization. (redisplay_window): If scroll margin is defined, don't assume window doesn't need scrolling. emacs-devel discussion: http://lists.gnu.org/archive/html/emacs-devel/2008-08/msg00903.html From cyd@stupidchicken.com Sat Oct 25 11:03:49 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 873) by emacsbugs.donarmstrong.com; 25 Oct 2008 18:03:49 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9PI3kHj012031 for <873@emacsbugs.donarmstrong.com>; Sat, 25 Oct 2008 11:03:47 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 1C46F57E1BA; Sat, 25 Oct 2008 14:03:50 -0400 (EDT) From: Chong Yidong To: emacs-devel@gnu.org Cc: 873@debbugs.gnu.org, "Juanma Barranquero" Subject: Recentering on scroll Date: Sat, 25 Oct 2008 14:03:50 -0400 Message-ID: <87bpx85z7d.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Can anyone reproduce bug#873 (occasional recentering during C-n)? I thought I could reproduce it at some point, using the recipe given in that bug report, but I can't seem to do it now. > After setting this in .emacs: > > (setq scroll-preserve-screen-position 'always > scroll-conservatively most-positive-fixnum ;; any large number > scroll-step 0) > > scroll-down causes recentering. This is a regression. From lekktu@gmail.com Sun Oct 26 17:57:17 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 873) by emacsbugs.donarmstrong.com; 27 Oct 2008 00:57:17 +0000 Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9R0vDmP017314 for <873@emacsbugs.donarmstrong.com>; Sun, 26 Oct 2008 17:57:15 -0700 Received: by yw-out-2324.google.com with SMTP id 3so497464ywj.31 for <873@emacsbugs.donarmstrong.com>; Sun, 26 Oct 2008 17:57:13 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jWDmgaESp6o9Bde6pgV0P7bcJjuLbYsgrCkeYpel+B0=; b=CCFQvxlaVWL6C51luR3QdLXQHJgcdMm0SHqtJBOiW8tHYUzU2t6Akb1IdtzSItlsTS LZ37M1zjBHD6ez9cDkiadN4hV3Tt0EsiIS2B1BeUo8tba4kY4p9SKOzMDXIz8XbP0l6p X0Obkv+1cKy3SWtZejW2sd7gDvnCtlVOpoKd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JXuOg2vhFqqrXed78MI/i3e5FO+ud7+yaMWy0sM91ix1NiwKcZrl4zOrP1I3hQGJLl UXT/GNcees4wev0G52xbB3vLazYZZl+VJKvxJL04xBzROkIImKTlIixDei95hyel1DIh cfcS45i6/ST6h+thPBqp6RbXXmqBhDaAyqHRw= Received: by 10.100.122.12 with SMTP id u12mr5420894anc.78.1225069033419; Sun, 26 Oct 2008 17:57:13 -0700 (PDT) Received: by 10.100.13.13 with HTTP; Sun, 26 Oct 2008 17:57:13 -0700 (PDT) Message-ID: Date: Mon, 27 Oct 2008 01:57:13 +0100 From: "Juanma Barranquero" To: "Chong Yidong" Subject: Re: Recentering on scroll Cc: emacs-devel@gnu.org, 873@debbugs.gnu.org In-Reply-To: <87bpx85z7d.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87bpx85z7d.fsf@cyd.mit.edu> On Sat, Oct 25, 2008 at 19:03, Chong Yidong wrote: > Can anyone reproduce bug#873 (occasional recentering during C-n)? I I can still reproduce it on Windows, though the effect's frequency varies with frame size and font (it seems to happen more often with DejaVu Sans Mono than Courier New, for example). Juanma From cyd@stupidchicken.com Sun Oct 26 22:18:59 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,BAYES_00,GMAIL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 873-done) by emacsbugs.donarmstrong.com; 27 Oct 2008 05:18:59 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9R5IuIN016925 for <873-done@emacsbugs.donarmstrong.com>; Sun, 26 Oct 2008 22:18:57 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 9FF3D57E1B7; Mon, 27 Oct 2008 01:19:00 -0400 (EDT) From: Chong Yidong To: "Juanma Barranquero" Cc: emacs-devel@gnu.org, 873-done@debbugs.gnu.org Subject: Re: Recentering on scroll References: <87bpx85z7d.fsf@cyd.mit.edu> Date: Mon, 27 Oct 2008 01:19:00 -0400 In-Reply-To: (Juanma Barranquero's message of "Mon, 27 Oct 2008 01:57:13 +0100") Message-ID: <87d4hm4nuj.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Juanma Barranquero" writes: > On Sat, Oct 25, 2008 at 19:03, Chong Yidong wrote: > >> Can anyone reproduce bug#873 (occasional recentering during C-n)? I > > I can still reproduce it on Windows, though the effect's frequency > varies with frame size and font (it seems to happen more often with > DejaVu Sans Mono than Courier New, for example). I managed to reproduce it, and found the bug that (I think) was causing this problem. I've checked in a fix. From cyd@stupidchicken.com Sun Oct 26 23:14:50 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00, VALID_BTS_CONTROL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 27 Oct 2008 06:14:50 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9R6EmCE030553 for ; Sun, 26 Oct 2008 23:14:49 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 9D58457E1B7; Mon, 27 Oct 2008 02:14:52 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: reopen 873 Date: Mon, 27 Oct 2008 02:14:52 -0400 Message-ID: <87vdveftsz.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii reopen 873 thanks From lekktu@gmail.com Tue Oct 28 05:40:11 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 873) by emacsbugs.donarmstrong.com; 28 Oct 2008 12:40:11 +0000 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9SCe8H8029116 for <873@emacsbugs.donarmstrong.com>; Tue, 28 Oct 2008 05:40:09 -0700 Received: by yx-out-2324.google.com with SMTP id 8so637181yxg.31 for <873@emacsbugs.donarmstrong.com>; Tue, 28 Oct 2008 05:40:07 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=K54q9jm5NtE7jGsGvMbwP35EYedYG7rLdi2VubVIJiA=; b=EOtwXAsC3Q2J5zHzxwHul+6KqyFw3pkV4idGG6oZp7QWy7poH0UYAkZAaLxoifLDvQ tz6FxNxbmsP4nZoI9MW6cvd/vQxmqfhFZMlDxkaENImy94GIkEuvxeMg2DWEgS3+8+aS 1vnhgYyIT/lXqXfh98DJm8UjOd0w2wEeOrYA8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GBo9mEejwHhKc5VTa64PGYaUSNNSFf7vWfePqX8kp22xILobhofdUjpQBRkNKilf8V PtYnT2LuAoJO+0VdYYNWvR5d8t02rRmDqYWN2p5WVc7n25+NpH3On0wNx87FbIZUk4i9 Kuo+FYTb6zEvo4HOuaab6PotHYyj9kQjjPzvs= Received: by 10.100.210.9 with SMTP id i9mr6997012ang.132.1225197607323; Tue, 28 Oct 2008 05:40:07 -0700 (PDT) Received: by 10.100.13.13 with HTTP; Tue, 28 Oct 2008 05:40:07 -0700 (PDT) Message-ID: Date: Tue, 28 Oct 2008 13:40:07 +0100 From: "Juanma Barranquero" To: "Chong Yidong" Subject: Re: Recentering on scroll Cc: emacs-devel@gnu.org, 873@debbugs.gnu.org In-Reply-To: <871vy2lhzn.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <87bpx85z7d.fsf@cyd.mit.edu> <87d4hm4nuj.fsf@cyd.mit.edu> <871vy2lhzn.fsf@cyd.mit.edu> On Mon, Oct 27, 2008 at 06:33, Chong Yidong wrote: > Actually, the fix caused a few problems; I've reverted it for now, and > will check in a new version in a couple of hours. With your most recent patch the unwanted recentering does not happen. Thanks. Line-by-line scroll is quite jumpy, though, as compared to next-line in Emacs 22.X, or even to previous-line in the current trunk. Juanma From lekktu@gmail.com Thu Nov 20 01:25:07 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,FOURLA, MISSING_SUBJECT,NOSUBJECT autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 873-done) by emacsbugs.donarmstrong.com; 20 Nov 2008 09:25:07 +0000 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAK9P4nE022100 for <873-done@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 01:25:05 -0800 Received: by an-out-0708.google.com with SMTP id c38so188501ana.31 for <873-done@emacsbugs.donarmstrong.com>; Thu, 20 Nov 2008 01:25:03 -0800 (PST) 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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=/kbTxo08jFdiu1/hKP6Zp7wWInZaOYGbLBOZSW5TdUs=; b=HQvlfYbgxJZr8H7VZ8HRcpmlAWZbgs3q+DmBuUbDI/kLAyNj+tK/J0x98RSc/OAk3C V8GKUUrBH9CMgQWWivDOf1Is7IgvOrjxxPQWMQ8q+lWQm1YaGWf0kIVRbWI7CcRqXssk BpuQz1RlD0RcDAF0G5Woj0QGpuak3eeyl6vu8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=NzrR7S11lQzZ53IemyNVn8GfCF/RNoeuiYcKrpkldyUE6W2ilLJnGTS9LbKmElm1Yz OAiDigAF8IpS/PFRDyt50EIOY1AzFzNDC+mdrxs+yYqf2W6sGzrt8qOrKWEZODSVageL rV7RrMMLJMYjeVehS3kWy6P+C+g0kjCj8bNaw= Received: by 10.100.107.3 with SMTP id f3mr1096339anc.28.1227173103915; Thu, 20 Nov 2008 01:25:03 -0800 (PST) Received: by 10.100.13.13 with HTTP; Thu, 20 Nov 2008 01:25:03 -0800 (PST) Message-ID: Date: Thu, 20 Nov 2008 10:25:03 +0100 From: "Juanma Barranquero" To: 873-done@debbugs.gnu.org Subject: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Fixed by Chong Yidong with this change: 2008-10-27 Chong Yidong * xdisp.c (try_scrolling): When computing the distance from the scroll margin to PT, try moving some distance past the window bottom before giving up. http://cvs.savannah.gnu.org/viewvc/emacs/emacs/src/xdisp.c?r1=1.1268&r2=1.1269&pathrev=MAIN From unknown Sun Jun 15 12:59:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Dec 2008 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator