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: Sat, 11 May 2024 21:26:37 +0300 Message-ID: <86le4g19ya.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> <86pltv77w2.fsf@gnu.org> <87a5kz2ze7.fsf@yahoo.com> <87seyotf2v.fsf@localhost> <86msow1bdb.fsf@gnu.org> <87pltsteiu.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16113"; 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 Sat May 11 20:29:11 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 1s5rT4-0003xD-Ek for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 May 2024 20:29:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5rSz-0006pO-Ep; Sat, 11 May 2024 14:29:05 -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 1s5rSw-0006p8-VS for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 14:29:02 -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 1s5rSw-0005q2-FX for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 14:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5rSv-0004kg-R5 for bug-gnu-emacs@gnu.org; Sat, 11 May 2024 14:29: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: Sat, 11 May 2024 18:29: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.171545213918260 (code B ref 70386); Sat, 11 May 2024 18:29:01 +0000 Original-Received: (at 70386) by debbugs.gnu.org; 11 May 2024 18:28:59 +0000 Original-Received: from localhost ([127.0.0.1]:49863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5rSt-0004kS-Cz for submit@debbugs.gnu.org; Sat, 11 May 2024 14:28:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5rSr-0004kM-Dq for 70386@debbugs.gnu.org; Sat, 11 May 2024 14:28:58 -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 1s5rQf-0005NK-6h; Sat, 11 May 2024 14:26:41 -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=RTBvJ7WCJz9MkLEG28vK4y6Mhd9rIH/CN9p5ksjebAo=; b=i80/wws8hmfx JQI0lz0vU4VHLt/Qtt0uxushjjgo8se9NQ3LBtyguZKtk1SNu0MLrg6qH0RCXINW2e1tJceviCgHM EwxAXG1O4x79QZTTG49vKQpK7r02no+MT/WuO3lRkgag2W2aFZX61oHFZw3UzlBY1NHrSvVxWmX9X hfXqhjWc/S2MOlrKUqjjCLpRJ+3TDvvG2EwI8aSVWZYKTyIeyiJzIqSGGTcbMGTzAaCACZWCKhTMJ iuwfzTJQVwtRVtDtdgZdO6+4zgD72olxTPmmeAPjDFjf1vLfZZsgz8sgSGDE4Ra9VEp0HXvHXpF9S BNzZPxtEfutRJf18VK251Q==; In-Reply-To: <87pltsteiu.fsf@localhost> (message from Ihor Radchenko on Sat, 11 May 2024 18:00:25 +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:284882 Archived-At: > From: Ihor Radchenko > Cc: luangruo@yahoo.com, 70386@debbugs.gnu.org > Date: Sat, 11 May 2024 18:00:25 +0000 > > Eli Zaretskii writes: > > >> See my recording of emacs -Q: > >> https://0x0.st/XKzU.mp4 > > > > Does that really answer the questions above? > > > > Btw, the "input" which interrupts while-no-input might come from > > sources you might not expect. > > > > All in all, I don't understand what is this bug about, for quite some > > time. I fail to see anything here that is worth keeping to dig into > > this. > > When I have > > (progn > ... > (recenter 0 t)) > > I expect the final result to be just the same as > > (recenter 0 t) > > but it is not what I am seeing. > > Is it more clear? The result can legitimately depend on what is inside progn, because what's there could affect point, and that in turn affects which line recenter puts on the first window line, or even if it can do that. So in this general form, the expectation is not correct. Perhaps if you made it less general and more specific to what the code inside progn actually does, we could discuss this in a more useful manner.