From: Julian Rohrhuber via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Eli Zaretskii <eliz@gnu.org>, 47360@debbugs.gnu.org
Subject: bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position
Date: Wed, 24 Mar 2021 19:08:50 +0000 [thread overview]
Message-ID: <263840E3-182B-4E13-91FD-091D78139FFC@protonmail.com> (raw)
In-Reply-To: <87mtus9z1a.fsf@gnus.org>
> On 24. Mar 2021, at 19:39, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
>
> Julian Rohrhuber <rohrhuber@protonmail.com> writes:
>
>> 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.
>>
>> Instead, it also jumps to the left.
>
> The cursor shape is purely cosmetic at present, I think. Your
> suggestion to add semantics to the bar shape makes some intuitive sense,
> but I'm afraid that might leave us open to user interface
> inconsistencies unless considered carefully.
yes, I definitely see your point here. The concept of a bar is indeed more than cosmetic, even if perhaps the differences are easily taken into account.
For those who use other editors are habituated very deeply to a specific behaviour of the bar, and anything that deviates from this feels subtly but clearly broken.
> Are there other instances we might want to do something based on the
> cursor shape other than setting point with the mouse, I wonder? Would
> "marking an area to the left" (i.e., clicking on a character and then
> dragging to the left) be handled differently? In that case, dragging
> starting with the mouse at any point right of the bar cursor should
> perhaps include the character under point, and not just at the half-way
> point?
I've checked with some editors, e.g atom (using huge font is easiest), the selection works just like the jump (so it is a selection of zero length). When you click to the right of the middle of a character and then drag to the left, the character will be included. If you drag to the right it will not be included.
next prev parent reply other threads:[~2021-03-24 19:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-24 7:42 bug#47360: 27.1; using 'bar cursor, mouseclick is rounded to the wrong char position Julian Rohrhuber via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-24 17:25 ` Eli Zaretskii
2021-03-24 17:38 ` Julian Rohrhuber via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-24 18:25 ` Eli Zaretskii
2021-03-24 18:39 ` Lars Ingebrigtsen
2021-03-24 19:08 ` Julian Rohrhuber via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-03-27 17:53 ` Julian Rohrhuber via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-27 19:47 ` Eli Zaretskii
2021-03-28 7:15 ` Julian Rohrhuber via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-28 7:25 ` Eli Zaretskii
2021-03-28 13:00 ` Julian Rohrhuber via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=263840E3-182B-4E13-91FD-091D78139FFC@protonmail.com \
--to=bug-gnu-emacs@gnu.org \
--cc=47360@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=larsi@gnus.org \
--cc=rohrhuber@protonmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).