all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yasushi SHOJI <yasushi.shoji@gmail.com>
To: emacs-devel@gnu.org
Subject: Location of mouse click
Date: Wed, 13 Apr 2022 21:44:33 +0900	[thread overview]
Message-ID: <CAELBRWKVGXiCKkkeRqYheU=C9GOK80p6UchpyX-_2OKer9b-qQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

Hi,

Emacs seems to disagree with the mouse clicked location of and buffer
lines when there are lines with different height.

Let's say I have short lines with higher height characters and a
longer line with shorter height in a buffer.  The buffer is set
truncate-lines t.  The longer lines, say, have a Japanese character あ.
Mouse clicks work while あs are displayed.  But once they are gone due
to horizontal scrolling to right, the long line moves up.  Now, a
mouse click on the longer line make the buffer scroll back to left,
just like I clicked the line above the long line (but I didn't).

I've tested under both X11 and Wayland session.

I wasn't sure I can explain this in sentences, so I made a
screen-cast.  apologize for a MB attachment.

Is this known behavior?

Best,
--
            yashi

[-- Attachment #2: Screencast from 04-13-2022 09:24:10 PM.webm --]
[-- Type: video/webm, Size: 845946 bytes --]

             reply	other threads:[~2022-04-13 12:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13 12:44 Yasushi SHOJI [this message]
2022-04-13 13:30 ` Location of mouse click Eli Zaretskii
2022-04-13 14:51   ` Yasushi SHOJI
2022-04-13 15:58     ` Eli Zaretskii
2022-04-14 17:43       ` Eli Zaretskii
2022-04-15  5:11         ` Yasushi SHOJI
2022-04-15  6:23           ` Eli Zaretskii
2022-04-15 11:58             ` Yasushi SHOJI

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='CAELBRWKVGXiCKkkeRqYheU=C9GOK80p6UchpyX-_2OKer9b-qQ@mail.gmail.com' \
    --to=yasushi.shoji@gmail.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 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.