all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 44284@debbugs.gnu.org
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	[thread overview]
Message-ID: <20201030205702.GG27593@zira.vinc17.org> (raw)
In-Reply-To: <20201030203453.GF27593@zira.vinc17.org>

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 <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)





  reply	other threads:[~2020-10-30 20:57 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28 16:36 bug#44284: 27.1; with some Unicode font, scrolling upward with the mouse wheel actually scrolls downward when the cursor needs repositioning Vincent Lefevre
2020-10-28 16:44 ` Vincent Lefevre
2020-10-28 16:53 ` Eli Zaretskii
2020-10-30 10:52   ` Vincent Lefevre
2020-10-30 11:31     ` Eli Zaretskii
2020-10-30 13:33       ` Vincent Lefevre
2020-10-30 13:37         ` Eli Zaretskii
2020-10-30 16:31           ` Vincent Lefevre
2020-10-30 20:34             ` Vincent Lefevre
2020-10-30 20:57               ` Vincent Lefevre [this message]
2020-10-30 21:09                 ` Eli Zaretskii
2020-10-30 23:00                   ` Vincent Lefevre
2020-10-31  0:46                     ` Vincent Lefevre
2020-10-31  1:13                       ` Vincent Lefevre
2020-10-31  7:38                         ` Eli Zaretskii
2020-10-31 22:43                           ` Vincent Lefevre
2020-11-01  0:24                             ` Vincent Lefevre
2020-11-01  0:28                               ` Vincent Lefevre
2020-11-01 16:15                                 ` Eli Zaretskii
2020-11-01 16:15                               ` Eli Zaretskii
2020-11-01 17:32                                 ` Vincent Lefevre
2020-11-01 17:43                                   ` Eli Zaretskii
2020-11-01 18:34                                     ` Vincent Lefevre
2020-11-01 18:47                                       ` Eli Zaretskii
2020-11-01 21:13                                         ` Vincent Lefevre
2020-11-07  8:29                                         ` Eli Zaretskii
2020-11-07 10:35                                           ` Vincent Lefevre
2020-11-07 13:22                                             ` Eli Zaretskii
2020-11-01 15:55                             ` Eli Zaretskii
2020-11-01 17:26                               ` Vincent Lefevre
2020-10-30 20:58               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201030205702.GG27593@zira.vinc17.org \
    --to=vincent@vinc17.net \
    --cc=44284@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.