unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Moritz Maxeiner <mm@ucw.sh>
To: Drew Adams <drew.adams@oracle.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [External] : Re: Moving point after character when clicking latter half of it
Date: Sun, 09 Jul 2023 17:33:25 +0200	[thread overview]
Message-ID: <4837402.GXAFRqVoOG@anduin> (raw)
In-Reply-To: <SJ0PR10MB548819D0C11C6B002E12EC36F333A@SJ0PR10MB5488.namprd10.prod.outlook.com>

On Sunday 9 July 2023 17:15:02 CEST you wrote:
> > > In all of the ones I'm using (other than emacs), clicking with the mouse
> > > on a character moves the point either in front of, or after that
> > 
> > character,
> > 
> > > depending on whether you clicked the left or right half of it.
> > 
> > Interesting, I never tested that before.  It explains why I am so often
> > missing the first character when I try to copy text with the mouse.  IOW
> > I personally find this an anti-feature.
> 
> I understand that the feature would be optional.
> Still, I tend to agree with you (Benjamin).
> 
> I can imagine editing text with a very large font
> (I use larger fonts as time goes by...), and in
> that case I'd see better which half of a char I
> was clicking.  IOW, that would allow me to take
> advantage of such half-char clicking.
> 
> Nevertheless, I don't really see what the feature
> adds.  You can already precisely click here or
> there to place point or select whichever starting
> (with (mouse-1) or ending (with mouse-3) char you
> like.

It allows people to not have to shift mental models when interacting with GUI 
Emacs vs. other GUI applications deadling with text.

> 
> It seems like all this would do is to halve the
> distance between such click positions - in essence
> _requiring_ even better visibility/sensing of the
> positions. 

Clicking the latter half of glyph n, as well as the first half of glyph n+1 
would result in the point being but between glyph n and n+1. The total length 
of the selection range remains the same, it is only shifted half a glyph to 
the left. I ask that you try my poc patch out before making such strong 
claims.

> And thus requiring even a closer zoom
> of the text.  IOW, instead of having to feel/find
> the start or end of a char you'd have to do that
> for the start, the end, and the middle.
> 
> Sounds like multiplying things unnecessarily,
> making poor Occam roll over in the grave.  What,
> exactly, is the improvement or use case?  Could
> someone please describe a scenario where this
> would actually help someone more?

The use case is described in my very first post, but I'll go into more detail: 
Every other GUI application dealing with text I'm using already works this 
way, including e.g. KMail (which I'm typing this email in). When using emacs, 
I have to switch my mental model from "normal GUI application" to "Emacs GUI" 
and still often misclick due to Emacs' behaving differently from other GUI 
applications.

That being said, if there's wide opposition of this being included in Emacs, 
I'll maintain it as a downstream patch as Emacs' current default behavior, to 
me, is unacceptable.





  reply	other threads:[~2023-07-09 15:33 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-08 21:01 Moving point after character when clicking latter half of it Moritz Maxeiner
2023-07-09  6:35 ` Eli Zaretskii
2023-07-09 12:44   ` Moritz Maxeiner
2023-07-09 13:23     ` Eli Zaretskii
2023-07-09 13:51       ` Moritz Maxeiner
2023-07-09 14:14         ` Eli Zaretskii
2023-07-09 21:47           ` Moritz Maxeiner
2023-07-10 12:46             ` Eli Zaretskii
2023-07-10 14:43               ` [External] : " Drew Adams
2023-07-10 20:02               ` Moritz Maxeiner
2023-07-11 12:29                 ` Eli Zaretskii
2023-07-11 13:10                   ` Po Lu
2023-07-11 18:01                     ` Moritz Maxeiner
2023-07-12  0:52                       ` Po Lu
2023-07-12 19:58                         ` Moritz Maxeiner
2023-07-12 21:17                           ` Yuan Fu
2023-07-12 21:36                             ` Moritz Maxeiner
2023-07-12 22:08                               ` Yuan Fu
2023-07-13  5:27                             ` Eli Zaretskii
2023-07-13 23:25                               ` Yuan Fu
2023-07-13  0:31                           ` Po Lu
2023-07-13  8:47                           ` Eli Zaretskii
2023-07-21 19:04                             ` Moritz Maxeiner
2023-07-21 23:57                               ` Po Lu
2023-07-22  5:41                                 ` Eli Zaretskii
2023-07-22 10:07                                   ` Moritz Maxeiner
2023-07-22 11:31                                     ` Po Lu
2023-07-22 12:51                                     ` Eli Zaretskii
2023-07-22 15:28                                       ` Moritz Maxeiner
2023-07-22 15:51                                         ` Eli Zaretskii
2023-07-22 15:59                                           ` Moritz Maxeiner
2023-07-22 16:34                                             ` Eli Zaretskii
2023-07-22 19:10                                             ` Yuan Fu
2023-07-09 13:58       ` Yuri Khan
2023-07-09 12:40 ` Benjamin Riefenstahl
2023-07-09 12:47   ` Moritz Maxeiner
2023-07-09 13:37     ` Benjamin Riefenstahl
2023-07-09 15:15   ` [External] : " Drew Adams
2023-07-09 15:33     ` Moritz Maxeiner [this message]
2023-07-09 16:06       ` Drew Adams
2023-07-09 16:21       ` Brian Cully via Emacs development discussions.
2023-07-09 18:01         ` Jens Schmidt
2023-07-09 16:43       ` [External] : " Eli Zaretskii
2023-07-12 18:21     ` Benjamin Riefenstahl
2023-07-12 18:32       ` Eli Zaretskii
     [not found] ` <12248204.O9o76ZdvQC@anduin>
     [not found]   ` <87ilac2kla.fsf@yahoo.com>
2023-07-22 14:48     ` Moritz Maxeiner
2023-07-22 15:26       ` 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

  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=4837402.GXAFRqVoOG@anduin \
    --to=mm@ucw.sh \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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 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).