From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 15:54:56 +0800 Message-ID: <87a5kz2ze7.fsf@yahoo.com> 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> <86pltv77w2.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5091"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 70386@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 09 09:56:50 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 1s4ye2-0001HD-Or for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 May 2024 09:56:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4ydt-0000p4-5o; Thu, 09 May 2024 03:56:41 -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 1s4ydo-0000Ze-OV for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:56:37 -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 1s4ydn-0002bd-QA for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:56:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4yeD-0004a1-Kn for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 03:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2024 07:57: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.171524136417595 (code B ref 70386); Thu, 09 May 2024 07:57:01 +0000 Original-Received: (at 70386) by debbugs.gnu.org; 9 May 2024 07:56:04 +0000 Original-Received: from localhost ([127.0.0.1]:53805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4ydH-0004Zj-O8 for submit@debbugs.gnu.org; Thu, 09 May 2024 03:56:04 -0400 Original-Received: from sonic303-20.consmr.mail.ne1.yahoo.com ([66.163.188.146]:36987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4ydF-0004ZM-KP for 70386@debbugs.gnu.org; Thu, 09 May 2024 03:56:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1715241330; bh=eKvsUOqyTnoPyi/NOctQt/asT0kofrOcKK5qYyg9K5s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=sr0S3xJtsjJQkXzCkkzFr4cCALO3mTPQC2JPPOJjOQa1bRsGqSnv6uZ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GwWUJ7H9DuRlSFOF XO8izV.HvEtARaYTs5yghmwA9mL1r6SFxMlLzHboSZ3R2ql893sZsCR50kZHsibcot76V4uN7qOO eRiDXTpmrDVTX41tuG6qp0zYkqUMkl7fhxNB7oBYJlSM_Da7GkLXb27V06JWTxhNGZP6QCwUraX. R4fekbVlloXi6UeM.bXbiipUGE4xr.r39d7GRWpEnvQ2jLrSlARAChx2MhnjL8AdxXXYyCL.dpFc pf_jFzHyaXg1_YBL2o0OoPk1Kh92uER6CrYoFktRoWOWFdm2Itgrprkia_OWnoMnfAqQze_B1bqK gy.sDG9BX6RtMIrStkzA6AxAbjga9V8fV1nB3.8Yi0OxlZgdNbD.VL4Tg3yzKiGWQSWOp.dX3Xr6 65tmXEZB2U_PU_fQdUMxyWWQ1duqCetkJMZRdAQLAp_cauBVVCBxkvysIC4A4Ib_H6mSgwN9RzPz 521MQwDDgo5kpP3qa8ZGTeB9_pxjpxW5lG6xCP_xtHXFZwQntz45G.ZGvFtqVS5IDfGCrpppiAK1 I1SvkqpSVkfUDuZciQV1mBTXBcUmgDkjM89.ajzGIh X-Sonic-MF: X-Sonic-ID: 63bcdc0a-8f82-4a93-ac5c-d6e1e6dceb9e Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 9 May 2024 07:55:30 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-np5nc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 3e70e3471e04820732d3ce1c4cb7ce33; Thu, 09 May 2024 07:55:23 +0000 (UTC) In-Reply-To: <86pltv77w2.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 May 2024 10:37:49 +0300") X-Mailer: WebService/1.1.22321 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:284737 Archived-At: Eli Zaretskii writes: > Ping! Po Lu, can you please take another look? I tried might and main to reproduce the vscroll-related problem following both the original recipe and the adjustments Ihor suggested, to no avail. Ihor, are you still running recenter? The bug you initially described should not be possible after my change, as vscroll is now unconditionally reset after a call to recenter, but the paragraph in your last message appears to describe a different phenomenon, which is no bug: since p-s-p-i is designed for interactive operation, the animation runs within `while-no-input', and if input should interrupt the usual course of the function, then it's entirely expected that point should be left elsewhere than specified in the arguments of the call.