emacs-devel
[Top][All Lists]
Advanced

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

Re: Moving point after character when clicking latter half of it


From: Yuan Fu
Subject: Re: Moving point after character when clicking latter half of it
Date: Thu, 13 Jul 2023 16:25:02 -0700


> On Jul 12, 2023, at 10:27 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Wed, 12 Jul 2023 14:17:41 -0700
>> Cc: Po Lu <luangruo@yahoo.com>,
>> Eli Zaretskii <eliz@gnu.org>,
>> emacs-devel@gnu.org
>> 
>> Sorry for joining late into the discussion. But I wonder if a Elisp solution 
>> would suffice? Someone had requested this feature to me in the past and this 
>> is my solution at the time.
> 
> Thanks.
> 
> I like this solution less, since it advises primitives, something that
> should be the last resort.  Also, handling layout in Lisp is always
> tricky; for example, posn-* functions are not very reliable in some
> obscure/rare use cases.  The solution in the display code is simple
> and very local, so I think it should be preferred.

That’s good to hear!

Yuan


reply via email to

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