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: Fri, 30 Oct 2020 21:57:02 +0100 Message-ID: <20201030205702.GG27593@zira.vinc17.org> References: <87zh46e296.fsf@cventin.lip.ens-lyon.fr> <83a6w6cmwe.fsf@gnu.org> <20201030105228.GB27593@zira.vinc17.org> <838sboar11.fsf@gnu.org> <20201030133336.GC27593@zira.vinc17.org> <83pn4zal89.fsf@gnu.org> <20201030163125.GD27593@zira.vinc17.org> <20201030203453.GF27593@zira.vinc17.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="15072"; 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 Fri Oct 30 21:58:12 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 1kYbTQ-0003pD-Iz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 21:58:12 +0100 Original-Received: from localhost ([::1]:48160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYbTP-0003JO-Ie for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 16:58:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYbTG-0003Iw-80 for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 16:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYbTF-0003rN-Vw for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 16:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYbTF-0001DI-Vi for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 16:58: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: Fri, 30 Oct 2020 20:58: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.16040914264599 (code B ref 44284); Fri, 30 Oct 2020 20:58:01 +0000 Original-Received: (at 44284) by debbugs.gnu.org; 30 Oct 2020 20:57:06 +0000 Original-Received: from localhost ([127.0.0.1]:59915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbSM-0001C6-Dq for submit@debbugs.gnu.org; Fri, 30 Oct 2020 16:57:06 -0400 Original-Received: from joooj.vinc17.net ([155.133.131.76]:56502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYbSK-0001Bx-Fd for 44284@debbugs.gnu.org; Fri, 30 Oct 2020 16:57:04 -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 A59AA4D9; Fri, 30 Oct 2020 21:57:02 +0100 (CET) Original-Received: by zira.vinc17.org (Postfix, from userid 1000) id 54D75C23E7A; Fri, 30 Oct 2020 21:57:02 +0100 (CET) Content-Disposition: inline In-Reply-To: <20201030203453.GF27593@zira.vinc17.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:192199 Archived-At: On 2020-10-30 21:34:53 +0100, Vincent Lefevre wrote: > I've found the cause of this issue: with the culprit font, it is > not always possible to put the text cursor on the last line in > the window, either with a mouse click or with the down arrow: > Emacs scrolls the text so that the cursor is at the center of > the window. Why/when this occurs remains to be determined (is > there some rounding involved?). This is contextual. For instance, with emacs -Q -fn -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 file I have a window with 34 lines: 1 2 3 . . . 33 34 If I move the cursor downward with the down arrow, I can reach line 33. At line 34 (last line of the window), Emacs scrolls to have: 17 18 19 . . . 49 50 with the cursor on line 34. Then, with the down arrow, I can put the cursor on line 50, which remains the last line of the window. With the up arrow, I put the cursor on line 40. With the mouse wheel, I scroll downward (one time), then upward. I still have lines 17 to 50 with the cursor on line 40. With the down arrow, I can reach line 49, but at line 50, Emacs scrolls to have lines 33 to 66, while before, the cursor could be on line 50 as the last line of the window. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)