From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window Date: Mon, 29 Apr 2024 18:31:19 +0000 Message-ID: <87jzkgaumg.fsf@localhost> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39929"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 70386@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 29 20:31:12 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 1s1VmR-000A9l-HH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Apr 2024 20:31:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1VmD-0007HZ-5z; Mon, 29 Apr 2024 14:30:57 -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 1s1Vly-0007Cl-I4 for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 14:30:45 -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 1s1Vly-0005Vw-9X for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 14:30:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1VmI-00010y-CX for bug-gnu-emacs@gnu.org; Mon, 29 Apr 2024 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Apr 2024 18:31:02 +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.17144154483886 (code B ref 70386); Mon, 29 Apr 2024 18:31:02 +0000 Original-Received: (at 70386) by debbugs.gnu.org; 29 Apr 2024 18:30:48 +0000 Original-Received: from localhost ([127.0.0.1]:58583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1Vm4-00010c-4o for submit@debbugs.gnu.org; Mon, 29 Apr 2024 14:30:48 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:33971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1Vm0-00010U-Pv for 70386@debbugs.gnu.org; Mon, 29 Apr 2024 14:30:47 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A9BFA240104 for <70386@debbugs.gnu.org>; Mon, 29 Apr 2024 20:30:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714415418; bh=XIie0BFoL2kz8fRQ9ETG4+hUk2b+7zxuMvLjbKoXZLk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=PSHmm3RlXSPdpmm539xsBzxU3TbCp6faqSG4/lYaCbUdmcn++9pW91mzrTfNe1eds MFWsikyEkALdQktkFZoLu7AGGQu5g7Ih093JEjUUh3RMPpOzVsInQ7wp6lI2M2R635 xg0Yxg+aaa36Pvh5NtAbjznD1qYNDDkIB007xGbfoVRPqfPZbg7iaLOS5F+YOeDmGs UhPIPhfsssr+ZG3z3l5lkueZ37ahzjUuZnlzj1qfzc5xL1qIb49NMB7gzMui2qq2P9 VU+2yv7ine8ggVVmaYEB8Pz+gdWiZJhsJadjPZvCnWy/d2YKMFt29ycLGEhcN0MJXy IU7EAXWght9iw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VSsMG0BPcz6tvw; Mon, 29 Apr 2024 20:30:17 +0200 (CEST) In-Reply-To: <87a5lff2h1.fsf@yahoo.com> 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:284168 Archived-At: 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