bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong c


From: Eli Zaretskii
Subject: bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position
Date: Wed, 24 Mar 2021 20:25:13 +0200

> Date: Wed, 24 Mar 2021 17:38:41 +0000
> From: Julian Rohrhuber <rohrhuber@protonmail.com>
> Cc: 47360@debbugs.gnu.org
> 
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]