[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Selection threshold with mouse
From: |
Stefan Monnier |
Subject: |
Re: Selection threshold with mouse |
Date: |
Sun, 20 Jul 2014 10:37:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> We don't currently have a method to find the character to the left of
> some screen coordinates (except some silly iteration that each time
> sheds 1 pixel from the coordinates).
Can't we:
- get the posn-at-x-y.
- find the left and right pixel boundaries of the object at that posn.
- call posn-at-x-y again on those boundaries (+1 or -1)?
Hmm... so maybe it can be done in Elisp after all.
> So it is not really easy to find the character that is to the left of
> the given screen coordinates in a way that will work with
> bidirectional display.
Indeed, bidi makes it more fun.
And as pointed out by Michael, you'd probably not want this to be
enabled all the time. IOW it probably shouldn't be controlled just by
a global variable. Instead, specific commands should control
it individually.
Stefan
- Selection threshold with mouse, Tak Kunihiro, 2014/07/19
- RE: Selection threshold with mouse, Drew Adams, 2014/07/19
- Re: Selection threshold with mouse, Tak Kunihiro, 2014/07/19
- Re: Selection threshold with mouse, Stefan Monnier, 2014/07/19
- Re: Selection threshold with mouse, Eli Zaretskii, 2014/07/20
- Message not available
- Re: Selection threshold with mouse,
Stefan Monnier <=
- Re: Selection threshold with mouse, Eli Zaretskii, 2014/07/20
- Message not available
- Re: Selection threshold with mouse, Stefan Monnier, 2014/07/20
- Re: Selection threshold with mouse, Eli Zaretskii, 2014/07/20
- Message not available
- Re: Selection threshold with mouse, Stefan Monnier, 2014/07/20
- Re: Selection threshold with mouse, Eli Zaretskii, 2014/07/20
- Re: Selection threshold with mouse, Stefan Monnier, 2014/07/21
- Re: Selection threshold with mouse, Eli Zaretskii, 2014/07/21
- Re: Selection threshold with mouse, Tak Kunihiro, 2014/07/22
- Re: Selection threshold with mouse, Eli Zaretskii, 2014/07/25
- Re: Selection threshold with mouse, Michael Heerdegen, 2014/07/19