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 15:45:18 +0200 Message-ID: <83mtm41afl.fsf@gnu.org> 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> <87zgq4te32.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40180"; 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 14:46:43 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 1mmynL-000AFA-8x for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 14:46:43 +0100 Original-Received: from localhost ([::1]:49302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmynK-0005VE-DE for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 08:46:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmym7-0003kc-08 for emacs-devel@gnu.org; Tue, 16 Nov 2021 08:45:32 -0500 Original-Received: from [2001:470:142:3::e] (port=46654 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 1mmym6-00055U-BT; Tue, 16 Nov 2021 08:45:26 -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=F8yh0i9BBF7n2DL8JPF2REMFDPSs2Jbbn5acw5vexp0=; b=Ga2v3e/oGXOa DmlvpK64tE8SG69lVjyRvdYS8frJ4m/SV8Qa2Qfm1XeMBWazlFstCgyDmFWhT6wC7FFcRftMdXrMT o/QiYi9sKFYVt29OQ2XBY2d6puz1t0trXFAK2m+BIFFYVU3c4kU8CzzinBloYx9twWTZroE5MtlYW cI1VSVhgjGh5y2XD+OR6Q0HVTsU21uWYKbMzO12BLb+VPPaXMtlG2AMUe4XwPc1ESCSZq461oMFJe LO3h4UzyrhJ48GZr6MhsHeI0E+H8zeji86J0buY0/EnDG6VL9Y2x7Y81iwR877SVhhl77xJspp1vL cq6K7bGyAbhtwwG/LKEt+A==; Original-Received: from [87.69.77.57] (port=2321 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 1mmym6-0001Cq-0T; Tue, 16 Nov 2021 08:45:26 -0500 In-Reply-To: <87zgq4te32.fsf@yahoo.com> (message from Po Lu on Tue, 16 Nov 2021 21:38:57 +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:279557 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Tue, 16 Nov 2021 21:38:57 +0800 > > 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. Moving up pixelwise? that should gradually show more and more of AAAA with each pixel movement. How is vscroll involved here? Or are you talking about some other kind of "moving up?