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: Mon, 15 Apr 2024 22:14:12 +0300 Message-ID: <86o7aajv5n.fsf@gnu.org> References: <87v84jrjir.fsf@localhost> <864jc3n510.fsf@gnu.org> <87plurrb2z.fsf@localhost> <86wmoyk3m4.fsf@gnu.org> <87frvm5z24.fsf@localhost> <86r0f6jx7w.fsf@gnu.org> <87cyqq5usj.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28160"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 70386@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 15 21:15:13 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 1rwRnN-000783-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Apr 2024 21:15:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwRn2-0006lV-HP; Mon, 15 Apr 2024 15:14:52 -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 1rwRn0-0006lF-Jv for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2024 15:14:50 -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 1rwRn0-0006Ym-Ac for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2024 15:14:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwRnC-0003xM-4C for bug-gnu-emacs@gnu.org; Mon, 15 Apr 2024 15:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Apr 2024 19:15: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.171320847714989 (code B ref 70386); Mon, 15 Apr 2024 19:15:02 +0000 Original-Received: (at 70386) by debbugs.gnu.org; 15 Apr 2024 19:14:37 +0000 Original-Received: from localhost ([127.0.0.1]:39082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwRmm-0003th-Im for submit@debbugs.gnu.org; Mon, 15 Apr 2024 15:14:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwRmj-0003sh-Vm for 70386@debbugs.gnu.org; Mon, 15 Apr 2024 15:14:35 -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 1rwRmS-0006XY-2Z; Mon, 15 Apr 2024 15:14:16 -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=N0Zz3/JbihVfCnIwCjhTVJAxq4/K3mXHOsnm0OMJXyQ=; b=JsPh9rN+FDHS x45O2il7eRaMgi4Mgj3MaDaSgoXSCH2+fNwzP/WphkdLKzsQaav05SJAmEc5f1IG/6d2axHU5SHwF gD9gcnKm84W1Rvgpfwt7Fnu6TwZ20ExPlzzOe/JLW/IImsNN8zwrxt06n8wj+rhMHhnjZZcd4jO76 D1iGuj+l87YE6LuRFBq5MAC4bZMR511II+nGldPUJI0lQt761jQpAll8cmvuRhHBh3dF4u8jArwVy qRUqQfwbtMRPXcFTjRsXhoBTs9S/OjtSg4rwXH+TnP8hu9UzxWJEV3mMMFBG3Bc/7pSxOrWCbOmUr CifSKalFfZ9PC4sntfrGRA==; In-Reply-To: <87cyqq5usj.fsf@localhost> (message from Ihor Radchenko on Mon, 15 Apr 2024 18:45:48 +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:283393 Archived-At: > From: Ihor Radchenko > Cc: luangruo@yahoo.com, 70386@debbugs.gnu.org > Date: Mon, 15 Apr 2024 18:45:48 +0000 > > Eli Zaretskii writes: > > >> In other words, the window slowly scrolls up, moving the point to the > >> top, but then quickly resets back to how it looked like before the > >> scroll started. > > > > No, it does not, at least not on my system. There's a small vscroll > > (you should see it if you move the cursor vertically with C-p after > > eval-buffer returns). So the code works, it just yields a vscroll > > that is not what you expect for some reason (and in about 50% of my > > attempts -- in the rest the code works as you expect). > > See the attached screencast on what I am seeing. If you look closely, you will see that even in that screencast the starting and the ending display are not identical: there's a small vertical displacement in the latter wrt the former. Besides, the start of the screencast is not immediately after entering "emacs -Q". I think you started recording after several attempts, and didn't restore the initial position after each attempt. I know this because the first line of *scratch* is barely visible when you begin the screencast.