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: Sat, 25 Dec 2021 14:45:59 +0800 Message-ID: <87fsqh9o7s.fsf@yahoo.com> References: <87ilwd7zaq.fsf.ref@yahoo.com> <83o864wg2a.fsf@gnu.org> <87ilwb68ck.fsf@yahoo.com> <83zgpnunfo.fsf@gnu.org> <87fsrf3xmd.fsf@yahoo.com> <83y257ulfp.fsf@gnu.org> <8735ne4e0e.fsf@yahoo.com> <87czmcvcs1.fsf@yahoo.com> <83sfv85y36.fsf@gnu.org> <87v904tsvv.fsf@yahoo.com> <83h7bo5m1x.fsf@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40304"; 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 Sat Dec 25 07:53:03 2021 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 1n10vO-000AGu-Ga for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Dec 2021 07:53:02 +0100 Original-Received: from localhost ([::1]:59016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n10vM-0002XX-Pg for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Dec 2021 01:53:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n10oq-0001QB-DD for emacs-devel@gnu.org; Sat, 25 Dec 2021 01:46:16 -0500 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:45090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n10om-0003ET-RN for emacs-devel@gnu.org; Sat, 25 Dec 2021 01:46:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640414771; bh=EylP+6D8RcyvLzboRsCZY+g2eVmjZUbIg936iUkoa9Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=HZ3BFFEuLBuEWitUCfhfzSw7VHeg4OmxpiZUnnmtm42FQAtzLc0MNQX7dDQM+jxVxHK6s2oQIAimbpEr5WspdbNbm7VfmL3DuGE/91m4PP4ZqW8QeW5hJQrr3tBQOB6Tsja/JFY/2x7YH/CshCT7zNKO6/fi1OMGJScAoDGrAoZMbNjCszGPHTopISRMUiaqOiBIS1CHruaq4ACf/YQGyWvbfBtCETSJfzCfbYKc57oJD2DbJ9HM+txQATjmBhGumnMQaRwdpxHiYtiprHw2MgcgbV9L7KJnFMztbd/N1Q33p7AEojXoZsttalW29d0fd1Bef8miapoRG7Bmyo3ePg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640414771; bh=TJ2oNeIaQQ6RQQS3cPdIPxEvQzS+bM9cMEpMAJBFVm2=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=N3x/aw8FxzDWsNQP9mzJoj0MKwZTIBnLULj1ET55Q+w3/aBIQ7z1wuOnClwS7/QaNUvzUeG3SnpcXRi0mhOBvwgsNk/o24LwonjXICGtiPchv92fU6QukqS+yifV8wW3mhx2U7Y8KPG2PzXmi/9spdkZkfQ6fABJK3njfSXqEzudkUcNXirEKtFra5xCgfYdwe0VHypcS04I/CvXHowMVT05cc73VoEet9Tva/zNieTvK/bsuEo1/BGJyyNT4l/kALuhj/ti/8AMqIz1X64QoPVH28VB+aQThkNQz8+RnSHDoxC+MpucensIpK7f76iNbRztNAEVM3LgttOxuE3S2w== X-YMail-OSG: PjCeSoEVM1n_cX0lD6HJISbOP.gY3pqoDYDiZ23nqTLyf3.0kc2XMxT6YdsNpM7 _PhyyXmOenB25MdGXSl883OVRcKdQTctlew73CVeFO8sOIFaC7SrfXo0qTU0YENi7yk4N5eA8bQI dhkBtqwAJV9riBt.j8v0urbMEhXSJh3T7ga_hMNuII.sH_oq6PNSg9iPskAMgDXdYhfxysi3aoyu fePVKYKDxd8QNIzXC0mLH_cHIbMiruAK4zhoiHhDQIvJPyx9Foxrir9fjMXAxhpTXKtE.fhY6uQP XmgZmBWCcG78wGD1WMIl02oBY1J0CKPm0rJtz72ScCCak0U4LyHs19S9WmHDRhqeewnoKJ.wRqFx Rnjrwen4gy11nou7NKq1uDTKCLd5_YaDf0HPW9bzEkOJNthuQy1YEpgAktEIeaGnUjpjRd7X9fKY nzGCseKJ26v89zzc8_mAQkcVXC40JEvmuf9NB8JV380_AzSHOp.e59uetyvwvcaduqMaPyEdazQ9 yk6vDn46JT7Th93KbuHNHepqPa.bwvFOyuxC6b.nsymnCrYJjHSeu1zFnSEvTyKlQ57TmGdm3oSL Og9wauizIMhPfUHeIopllP64UMTvArq.BumtlWMvTje8BDNVFYZAkIEMhJoYVHuGca98H9ZnmXmg whf95hyYCd8Royq0us6l4DXpb_OnjmBN7VfTNAC_spefPK1ZkVwF4wTHlk8gRbeTK87tOADkUpXS oSgLyPqKXOs.gYoEz_fFaYA9xvwWPCGQhsvx9q54fn8jcYlEDmtNnRi3SSAYTZLHTOoMrrOL9h2d 6bOmVYoFsHslRfDyeD3KLXeRUHQHFBsIWrEwhqXupS X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sat, 25 Dec 2021 06:46:11 +0000 Original-Received: by kubenode512.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f4739295189d9bbb1080365a517d8901; Sat, 25 Dec 2021 06:46:05 +0000 (UTC) In-Reply-To: <83mtlaurxj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Dec 2021 10:02:32 +0200") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.33; envelope-from=luangruo@yahoo.com; helo=sonic313-10.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 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:283184 Archived-At: Eli Zaretskii writes: > I already provided an example where this could not be what users > expect: some command inserts text before the window-start, which > causes the text shown in the window to move if we use the same > window-start position. Now, window-start is a marker, so > theoretically we could use the same marker with the buffer position > updated due to the insertion, in which case the stuff displayed in the > window may stay unchanged. > But is this what users will expect? And if this is not what users > expect, i.e. if we will need to recompute window-start anew in that > case, we cannot use the "recenter around point" fallback. Likewise > with bringing point into the view: will this be what users expect in > the described situation? To be completely clear, the "recenter around point" fallback you allude to is the code under the `recenter' label in `redisplay_window', correct? Please forgive me if this has been answered before, but I haven't been working on this in a while, and my memory is already getting rusty. Thanks.