Subject: Re: bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position

From: Eli Zaretskii <[email-masked]>
Date: Wed, 24 Mar 2021 20:25:13 +0200

> Date: Wed, 24 Mar 2021 17:38:41 +0000
> From: Julian Rohrhuber <[email-masked]>
> Cc: [email-masked]
> 
> When clicking into a text, at a random position, the  position where the cursor jumps to is calculated. Now this is a bit subtle: when you click on a character, does the cursor jump to the left of that character or to its right?
> 
> When in box mode, it jumps to the left, and here this is correct.
> 
> But when in bar mode, it should jump to the right when the click is right of the middle of the character, and only left when to its left of the middle.

Why should it jump to the right?  You click on a character, then point
is set _before_ that character (point is always between 2 characters
in Emacs).  So the bar cursor will be to the left of that character.

> Instead, it also jumps to the left.

As I'd expect.