From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Location of mouse click Date: Wed, 13 Apr 2022 16:30:49 +0300 Message-ID: <83bkx53yba.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2778"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Yasushi SHOJI Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 13 15:31:44 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ned5z-0000aS-Vu for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Apr 2022 15:31:44 +0200 Original-Received: from localhost ([::1]:54920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ned5y-0004FJ-Cv for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Apr 2022 09:31:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ned56-0003Sc-P3 for emacs-devel@gnu.org; Wed, 13 Apr 2022 09:30:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ned55-0001gT-Ob; Wed, 13 Apr 2022 09:30:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=0xYfEjseEf8KQatcC3wQRFUSicYSKyi8puPP6Fhe+00=; b=MAg5b1TbiWyCrV08mHgx /SiUR59eEWx+ERfEdrj7NYMrwaNRI1bBRF65ESdvimz/Sp+z9KeFRvq7IXmMaKEODlHTmXGRwQzdr 0Q0FScRBu3osrV39dBjnPPgfUaK8jRfbQknZY77uJaDCum4pk6XAtXLT0lGjN0h1ooedEyiZ/x/Rk Obnb4jR5Yl/lZWNEsR4Rx9ytm1/SRtfGpH4lDc4a9pd9G+U7y9f9X2212E7Lsiflp1Js/oxseyxGd u9haoWJupxZA95Neo8weu7dqnHTgxh0tBca7u0vWYzb2ziiP6Hf0AWH2MqjFViC7Pd2GplA+qprZQ sNWUHmQoD4MO/Q==; Original-Received: from [87.69.77.57] (port=2006 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ned52-0001ZD-HY; Wed, 13 Apr 2022 09:30:46 -0400 In-Reply-To: (message from Yasushi SHOJI on Wed, 13 Apr 2022 21:44:33 +0900) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288359 Archived-At: > From: Yasushi SHOJI > Date: Wed, 13 Apr 2022 21:44:33 +0900 > > 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? Not sure. Please post a file that can be visited to reproduce the problem, and please accompany that file with instruction for reproducing starting from "emacs -Q". If it is important to click the mouse at specific places, please try to describe those places as accurately as you can, to avoid misunderstanding. Also, please tell which version of Emacs is that.; Thanks.