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: Redisplay resets vscroll when window start changes Date: Tue, 16 Nov 2021 21:38:57 +0800 Message-ID: <87zgq4te32.fsf@yahoo.com> References: <87k0h9pp7t.fsf.ref@yahoo.com> <87k0h9pp7t.fsf@yahoo.com> <83r1bhsdsn.fsf@gnu.org> <87tugdnf1x.fsf@yahoo.com> <831r3g2rhe.fsf@gnu.org> <87tugcuuoz.fsf@yahoo.com> <87o86kuuek.fsf@yahoo.com> <83r1bg1ay4.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="19837"; 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 Tue Nov 16 14:42:46 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 1mmyjW-0004yJ-Gg for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 14:42:46 +0100 Original-Received: from localhost ([::1]:42560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmyjU-0000ZR-PD for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 08:42:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmyg8-0006GF-2M for emacs-devel@gnu.org; Tue, 16 Nov 2021 08:39:16 -0500 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:39155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmyfy-0003yS-RI for emacs-devel@gnu.org; Tue, 16 Nov 2021 08:39:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637069945; bh=tfd6XLN8IhZKN0o0iOYtNHnMbuYJzyDv/Wcq2mIhYyk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=au2w6OxYVYGIHO/haJk5uNvBXCB0iXgEMGzjkMC3HoLQelJncAtGO2BpnO1fIR8jpsS2VoOSE3frxE7rb9VxP+wCgDyCylFUmjddEvYT1WMlI/5jQ6Xw2YKmYWqScakw7+OhgiIQnoHjzMoPDYO9zvpFAwSzbkDPQPZnPzV/lMEePSeXltPcmsY6NMUQ1YYigty5HI1FUXpBHAbAcrqBXwM/p6sZgZcNQgRgMQj2V536JLAyxViF7n9SC49uZ2xiPmC6KkXF8TMp9YeTLiuOq0NDS88INtnRfmz7DnmQXDVPQot7RDdR8jxsTLS7gwXpfdv+fvXaC+fVT2Xyj6EKkg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637069945; bh=Oo3gMqz745I2zOwKnfd7KsFpZdRATbfsgXo+1BQ/3WP=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CYuBsFYYXotulMg3ajjheoFjSaHtbywGw34MIXd616IMmdd6/GhhRCuP5FDZuGezKTuIRBazg8fIx3MurWVudH/Stgf9cjRfaisZ2/7ckooy14v8JPrxLU12HmIdc4kxxCorERKnpkPR5wzOXemFeM1Pc/XXbb+EAvqVikiReL8ehjondap7K6uzO4Ame3pl0Os6Z+4aDkKGxh61s6bmRXEF7s1XSneFZVXq2GCvC9qWTor8LygWy2Y6f8drTZveYhLCayeJRsjeUQdEzycSVrqY3Q8Q5uLKceZBY8cao+Uq357MlvorgXUlMrfmRzXuPmVxKt7AKwrHzQPH4KcszQ== X-YMail-OSG: _wBSLJIVM1n7hrJNbwtC3rsVvtQVA_LlUBg2E7D4q6sdQ1Zvd6tV2zVSbmB7l1Z 7Ppatp6cCBhywM2rxABIZvHEBPbqd9NEZANGT8sk1DxynUPDS0yBxv_TM.ckU.VH7y8jGZN53Yes W3l1b96bBR7i4YBRV8zThwWSp9Zh.47ZiXDVvg7X8hxbLm.arehIxj6A8ZQcqelXaeAjjvP0rTQO 9s0xIBVvZC_l234MdSQ.JdZZFugN.3JTEoAPHsBROLxa9XESOrYGfh5gwfH__TCTWeDQMYvGkCI_ Kdy.p4ixCIx3_QLQh1T9OeFGfWrlv8kYqJRxQHw_PIVoqPHFtj6Ri589SWrQWiARws8DsALSHyQq .L6OM49ij4ZnUgTHT2M_l6HOc1jWSdqs_kgVjfSjpMABRws5DNRNkGyIFZzG02emeEniI9_TMEgO WKTbuUK1g1kzb2.Sf2FabRrDaTHRsKwuTAuuyxmR6FjTpRo0H5o_qgOJbxTJwANaGgBqqiizkDcC Gl6uDd8Lc8bCTBx9TqXwI1C7iNSSbUqWFqNJIH_96ZcX8Uz5uH_8nEuXvCY_PQnlBowS6.Thm.HM ax5kULX543Qx5uH7S31WveXeNe8S9OyOhGJ4wMDbsEsRT9QW8AFdh0v_xulG81mz30PzUl.qPZRr lfMeUzRVLPJ0UPOj9ladEvMSogkBf1Cyx1XE3daYCW4UEQWPGU5uN4zu5vNamNaIfMiVs9.F4SvZ xnWHujDdgebwFhiygG4jMaGmPMPKEqxmAusD.MsOkr1V_w2b5R9_9ftB3IeSMrf_GG6ITUmxOOwY 7fqWC.WL13sbYMuhblRFM5o.UWHwDZ62mZWiMQHYPf X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Tue, 16 Nov 2021 13:39:05 +0000 Original-Received: by kubenode502.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID de58048616e11f6801824701f71426ae; Tue, 16 Nov 2021 13:39:01 +0000 (UTC) In-Reply-To: <83r1bg1ay4.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Nov 2021 15:34:11 +0200") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.147; envelope-from=luangruo@yahoo.com; helo=sonic303-21.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:279556 Archived-At: Eli Zaretskii writes: > If you are moving to another line, how would it make sense to leave > vscroll alone? Or what am I missing? Basically, if someone has the following content in a window: AAAA BBBB CCCC DDDD EEEE FFFF GGGG HHHH And point is on the first "G", while vscroll is set so that part of "AAAA" is obscured, he will expect moving up so that point is on the first "F" to not reset the vscroll. I don't know why, but that's how every other program works, so people always expect that and get very confused if a program behaves otherwise.