From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Allowing point to be outside the window? Date: Mon, 07 Feb 2022 21:57:50 +0800 Message-ID: <871r0eg4o1.fsf@yahoo.com> References: <87ilwd7zaq.fsf.ref@yahoo.com> <87ilw3ubfp.fsf@yahoo.com> <83h7bn4e55.fsf@gnu.org> <877dcipjmk.fsf@yahoo.com> <83mtld254e.fsf@gnu.org> <87lf0xjgxu.fsf@yahoo.com> <83ilw0zg38.fsf@gnu.org> <87mtlbgajq.fsf@yahoo.com> <83czm7vx0s.fsf@gnu.org> <87mtlad3sv.fsf@yahoo.com> <83mtlaurxj.fsf@gnu.org> <87fsqh9o7s.fsf@yahoo.com> <878ruoqx0u.fsf@yahoo.com> <83h79cz0sm.fsf@gnu.org> <87leyonrp4.fsf@yahoo.com> <83fsowyzt9.fsf@gnu.org> <87pmo0mbig.fsf@yahoo.com> <8335kwynrp.fsf@gnu.org> <87y22nlbdg.fsf@yahoo.com> <87v8xri1ki.fsf@yahoo.com> <83fsouyetj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 07 15:18:45 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nH4qp-000AEA-Ln for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 15:18:43 +0100 Original-Received: from localhost ([::1]:35148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH4qo-0005zo-L0 for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Feb 2022 09:18:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH4X1-0004K6-0o for emacs-devel@gnu.org; Mon, 07 Feb 2022 08:58:15 -0500 Original-Received: from sonic317-32.consmr.mail.ne1.yahoo.com ([66.163.184.43]:33789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH4Wp-0000rr-FS for emacs-devel@gnu.org; Mon, 07 Feb 2022 08:58:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644242281; bh=AIIOT7HaCGLYQx+5CXMCYF8nqUlrEdXcU39hjxT3TUg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=A6iEYuIhlSuJ5Z8k7c5FVuOjvoFwgbdoUcuoWy50U3QuT2v0Z0GmE4XfSZPX8aoZsJw3nWLlp0eUqLvh97ijQ7rzC/dXd4tV0k99E9meSp3U/UpikWIjex2A3cz7gt2aSBQe1t0V5b29eiezcJ16agDtmw0zs0zR27cdxuptHaWqGhe8bQLR9srDwHD6zFhXpiigqkzOi4CuUAn/uvZGKuhEMhlhB1vdyLWf6EuO64OGtyi/eyuzEROywIgfbwDpgySVasDpOBppDXxeRRlmsoMglGFDQtNI1h0qBLtdx5asHEqnRFWIOEiwXuHlBfD/Ey2eQxdbtUV07ZZMhtOw+Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644242281; bh=FFGagk3o1rK3ZFZDCrAmKn3iMUCB2FAT3IzVrGtrtYy=; h=X-Sonic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SaqnM3P244dsCjAt5w0qzsZq1Njx6GQyfPCq_ 4z7tGnZYqvfHwcgvmIK_aWp1uM4jPHL_bMs4ZK52QBOCSWCezZmluM5YenP.8A9K9meeByQHHmnZ WEfzY4xn78g1OoSipSRF.gIc1N9ZxZCO7G.3EYww1z X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Feb 2022 13:58:01 +0000 Original-Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fd9c9b20a34daa738147a5fbedcb335a; Mon, 07 Feb 2022 13:57:54 +0000 (UTC) In-Reply-To: <83fsouyetj.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Feb 2022 15:41:12 +0200") X-Mailer: WebService/1.1.19711 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.43; envelope-from=luangruo@yahoo.com; helo=sonic317-32.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286048 Archived-At: Eli Zaretskii writes: >> >> And I question the validity of the combination scroll-move-point = nil >> >> with keep-point-visible = t. The problem with your implementation is >> >> that scroll-move-point = nil disables scrolling in redisplay_window, >> >> but scrolling there is used not necessarily as result of scrolling >> >> commands, but also when redisplay_window decides that the optimal >> >> method of updating a window is to scroll its previous contents. Thus, >> >> disabling scrolling on that level will cause confusing results, >> >> because users will expect that to affect only scrolling commands: they >> >> are unaware that redisplay sometimes scrolls the window for other >> >> reasons. > I didn't say redisplay calls the scrolling commands: you did. > > The truth is that redisplay doesn't call any scrolling commands. `scroll-move-point' doesn't affect redisplay; it only affects the scrolling commands in window.c. I thought what you wrote was a typo, and that you meant to say "disables scrolling in window.c" or something else similar. Thanks.