all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Akib Azmain Turja <akib@disroot.org>
Cc: jdtsmith@gmail.com, emacs-devel@gnu.org
Subject: Re: xterm-mouse-mode gives incorrect posn-object-x-y with display space
Date: Sat, 26 Nov 2022 21:14:26 +0200	[thread overview]
Message-ID: <83y1rxr0j1.fsf@gnu.org> (raw)
In-Reply-To: <87fse5pmt5.fsf@disroot.org> (message from Akib Azmain Turja on Sun, 27 Nov 2022 00:56:06 +0600)

> 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.



  reply	other threads:[~2022-11-26 19:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 17:22 xterm-mouse-mode gives incorrect posn-object-x-y with display space JD Smith
2022-11-24 18:09 ` Stefan Monnier
2022-11-24 18:34 ` Eli Zaretskii
2022-11-24 21:42   ` JD Smith
2022-11-25  7:21     ` Eli Zaretskii
2022-11-25 15:15       ` JD Smith
2022-11-26 12:07     ` Eli Zaretskii
2022-11-26 18:56       ` Akib Azmain Turja
2022-11-26 19:14         ` Eli Zaretskii [this message]
2022-11-27  1:14       ` JD Smith

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y1rxr0j1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=akib@disroot.org \
    --cc=emacs-devel@gnu.org \
    --cc=jdtsmith@gmail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.