From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window Date: Thu, 09 May 2024 10:37:49 +0300 Message-ID: <86pltv77w2.fsf@gnu.org> References: <87v84jrjir.fsf@localhost> <864jc3n510.fsf@gnu.org> <87plurrb2z.fsf@localhost> <86wmoyk3m4.fsf@gnu.org> <86plubw6my.fsf@gnu.org> <87edarf50m.fsf@yahoo.com> <87a5lff2h1.fsf@yahoo.com> <87jzkgaumg.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22534"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70386@debbugs.gnu.org To: luangruo@yahoo.com, Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 09 09:38:45 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s4yMX-0005oJ-1G for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 May 2024 09:38:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4yMR-0003EJ-0V; Thu, 09 May 2024 03:38:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4yMN-0003Dh-W2 for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:38:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s4yMN-00045j-O5 for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:38:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4yMn-0001dh-JQ for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2024 07:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70386 X-GNU-PR-Package: emacs Original-Received: via spool by 70386-submit@debbugs.gnu.org id=B70386.17152403106290 (code B ref 70386); Thu, 09 May 2024 07:39:01 +0000 Original-Received: (at 70386) by debbugs.gnu.org; 9 May 2024 07:38:30 +0000 Original-Received: from localhost ([127.0.0.1]:53704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4yMH-0001dO-JJ for submit@debbugs.gnu.org; Thu, 09 May 2024 03:38:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4yM9-0001dH-W5 for 70386@debbugs.gnu.org; Thu, 09 May 2024 03:38:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4yLe-0003vv-8D; Thu, 09 May 2024 03:37:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pGmxXk/WQcjIyQROF86rtQ3lV8QQyZm3K6wVRlKe530=; b=WW9OMdq51nzG PCUqf5AJx/WKrYbVwdSbYrgRMgk8PMPUF/DZRl5bFlz7nCZrcSrQUy2tbJsDd1LC09fzwftkjZsIu ZOnpz3XSRPpQHijptJmPSdnQJiCUOwe/avxckdIGrH2ktOpOIIagO0ERDHkR61OlgbuxlGW+aK0IT mNbebyV4hK3dv0glJ/3c/TG4jC7NQ0f+wMOGnpjg55574YwnMF5C4LSsSqCZ7DxuXTziMduB5DQv5 jCQ1FzFq9bT89Hne7lXjD+M0cFeY0Y4cWtgjvOirPTPNk21FAwY9a0B8Zqm09urtkzTMn6UW1khZo jUnw88whVfA6c0aVvmHoWw==; In-Reply-To: <87jzkgaumg.fsf@localhost> (message from Ihor Radchenko on Mon, 29 Apr 2024 18:31:19 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284732 Archived-At: Ping! Po Lu, can you please take another look? > From: Ihor Radchenko > Cc: Eli Zaretskii , 70386@debbugs.gnu.org > Date: Mon, 29 Apr 2024 18:31:19 +0000 > > Po Lu writes: > > > Po Lu writes: > > > >> Eli Zaretskii writes: > >> > >>> Ping! Po Lu, could you please look into this issue? > >> > >> I will, thanks. > > > > Should be fixed now, please test and ack. > > I just tried the latest master (make bootstrap). > I am still able to reproduce the original steps, although not every time > I run M-x eval-buffer. > > (progn > (require 'pixel-scroll) > (pixel-scroll-precision-interpolate > (* -1 (line-pixel-height) > (max 0 (- (count-screen-lines (window-start) (point)) 2))) > > ^^^ changing 2 to 3,4,5 or resizing frame changes the scrolling > behavior. Sometimes, the recentering does leave the point on top, but > the point moves down a few lines. Sometimes, recentering does not happen > as in the original report. Sometimes, the recentering works. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at >