[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xterm-mouse-mode gives incorrect posn-object-x-y with display space
From: |
Eli Zaretskii |
Subject: |
Re: xterm-mouse-mode gives incorrect posn-object-x-y with display space |
Date: |
Sat, 26 Nov 2022 21:14:26 +0200 |
> From: Akib Azmain Turja <akib@disroot.org>
> Cc: JD Smith <jdtsmith@gmail.com>, emacs-devel@gnu.org
> Date: Sun, 27 Nov 2022 00:56:06 +0600
>
> > Why challenging? On TTY frames, align-to always aligns to some character
> > position, and the mouse clicks are reported in terms of character positions
> > as well. Why do you even need the fine details of the POSITION part of the
> > mouse-click events on TTY frames?
>
> They (probably a grammatical mistake) are the maintainer of the mlscroll
> package, that implement scroll bar in mode line, but using specified
> space. That's why they need the click position *precisely*.
You are missing my point: on TTY frames "precisely" means at character
position granularity. There's no resolution below that, so accounting for
the number of glyphs in the stretch of whitespace should not present a
problem. Unless I'm missing something.