From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#44284: 27.1; with some Unicode font, scrolling upward with the mouse wheel actually scrolls downward when the cursor needs repositioning Date: Sat, 31 Oct 2020 23:43:24 +0100 Message-ID: <20201031224324.GK27593@zira.vinc17.org> References: <20201030133336.GC27593@zira.vinc17.org> <83pn4zal89.fsf@gnu.org> <20201030163125.GD27593@zira.vinc17.org> <20201030203453.GF27593@zira.vinc17.org> <20201030205702.GG27593@zira.vinc17.org> <83y2jn8lqr.fsf@gnu.org> <20201030230035.GH27593@zira.vinc17.org> <20201031004617.GI27593@zira.vinc17.org> <20201031011350.GJ27593@zira.vinc17.org> <83r1pe975u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22960"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.14.5+76 (bb407ec3) vl-127292 (2020-06-24) Cc: 44284@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 23:44:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kYzbU-0005rC-Le for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 23:44:08 +0100 Original-Received: from localhost ([::1]:58438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYzbT-0003nL-Ns for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 18:44:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYzbO-0003nF-1L for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 18:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYzbN-0007Ma-Nt for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 18:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYzbN-0000lZ-LY for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 18:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 22:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44284 X-GNU-PR-Package: emacs Original-Received: via spool by 44284-submit@debbugs.gnu.org id=B44284.16041842112900 (code B ref 44284); Sat, 31 Oct 2020 22:44:01 +0000 Original-Received: (at 44284) by debbugs.gnu.org; 31 Oct 2020 22:43:31 +0000 Original-Received: from localhost ([127.0.0.1]:34856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYzat-0000ki-H3 for submit@debbugs.gnu.org; Sat, 31 Oct 2020 18:43:31 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]:57086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYzap-0000kV-Dg for 44284@debbugs.gnu.org; Sat, 31 Oct 2020 18:43:29 -0400 Original-Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id BE06911D; Sat, 31 Oct 2020 23:43:25 +0100 (CET) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id A9EACC25828; Sat, 31 Oct 2020 23:43:24 +0100 (CET) Content-Disposition: inline In-Reply-To: <83r1pe975u.fsf@gnu.org> X-Mailer-Info: https://www.vinc17.net/mutt/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192313 Archived-At: On 2020-10-31 09:38:37 +0200, Eli Zaretskii wrote: > I think the issue might be elsewhere: in the code that decides to > scroll such that this particular screen line ends up being the last > one, and/or that point should be on this last line. If this happens, > we will always recenter or move point off that screen line. So the > right place to look could be in the scrolling code, probably in > window_scroll_pixel_based. window_scroll_pixel_based is not called at all, neither window_scroll is. What is wrong seems to be the initial position of the text in the window. Indeed, with xmag (magnifier), I can see that the glyphs are shifted one line downward. Now, I don't know where to look at. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)