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.devel Subject: Re: Redisplay resets vscroll when window start changes Date: Tue, 16 Nov 2021 14:51:41 +0200 Message-ID: <831r3g2rhe.fsf@gnu.org> References: <87k0h9pp7t.fsf.ref@yahoo.com> <87k0h9pp7t.fsf@yahoo.com> <83r1bhsdsn.fsf@gnu.org> <87tugdnf1x.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31711"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 16 13:52:31 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 1mmxwr-000807-Q6 for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 13:52:30 +0100 Original-Received: from localhost ([::1]:51288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmxwq-0004nY-LI for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 07:52:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmxwH-00046T-9r for emacs-devel@gnu.org; Tue, 16 Nov 2021 07:51:53 -0500 Original-Received: from [2001:470:142:3::e] (port=43736 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmxwE-00049i-TQ; Tue, 16 Nov 2021 07:51:53 -0500 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=yeLh6/H5EwKF8vt82KZUTEWZDysxtBC2LQUpsHtgv8I=; b=V+yiwu2XkCuH GPZqRhxqSJCUvBrf8uJPJfD1XpFnmD9/RFXOOYaWlETyfxry4ytm7EzVAxUoZlSBfxxB6mYkmHgyC x4vASLvs3bsfwskY0MUFkOmSfd9BN6pcsjKVS/fiyIRKo/emnVqP3Iee50nv6I3H0/TKC9I+hKTrB XR2SKrj/8NBNqpxweEOguTlTORH0+voDpmA6qgoub8f+WareC93JvOqIADMcNhaQLSxHPfUFrifzf eHsPX1yL/SAFe+OGMJ9hoqwpmymDi3NU7wdBTDDpwtBisjtpY8YGZbuq4Y0v0sRySh/J7l6U3D/dt 5WtKZ6+QW3glcWiP8XZ1xg==; Original-Received: from [87.69.77.57] (port=3015 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmxwE-0006mw-6E; Tue, 16 Nov 2021 07:51:50 -0500 In-Reply-To: <87tugdnf1x.fsf@yahoo.com> (message from Po Lu on Tue, 16 Nov 2021 08:02:18 +0800) 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:279545 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Tue, 16 Nov 2021 08:02:18 +0800 > > > Are you using scroll commands to implement this? If so, don't: they > > are not the right way of having pixel-wise scrolling in Emacs. > > Uh, no, but I would like to preserve the vscroll across scrolling > commands, as that's how pixel-wise scrolling works in other editors. I don't think I understand. Can you tell more, and perhaps give an example? Why would we want to preserve the vscroll after a real scroll, when scrolling means you see some completely different text?