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.bugs Subject: bug#61022: 28.2.50; Mouse tracking of high coordinates not working in rxvt-unicode Date: Thu, 26 Jan 2023 10:57:10 +0200 Message-ID: <83lelpekrd.fsf@gnu.org> References: <87sfg2nyy5.fsf@home.thecybershadow.net> <83y1ptie7y.fsf@gnu.org> <6f9506a6b306d47ef6064747c4cecb75@finder.org> <831qnki0hh.fsf@gnu.org> <9e731b2056f75065a6b603aa80903400@finder.org> 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="21117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: git@vladimir.panteleev.md, 61022-done@debbugs.gnu.org To: Jared Finder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 26 09:58:26 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pKy5R-0005FS-Uw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Jan 2023 09:58:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKy57-0004Fv-HY; Thu, 26 Jan 2023 03:58:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKy55-0004EV-B6 for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 03:58:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKy55-0005Mg-1t for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 03:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKy54-0007jz-ON for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 03:58:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jan 2023 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61022 X-GNU-PR-Package: emacs Mail-Followup-To: 61022@debbugs.gnu.org, eliz@gnu.org, git@vladimir.panteleev.md Original-Received: via spool by 61022-done@debbugs.gnu.org id=D61022.167472342729688 (code D ref 61022); Thu, 26 Jan 2023 08:58:02 +0000 Original-Received: (at 61022-done) by debbugs.gnu.org; 26 Jan 2023 08:57:07 +0000 Original-Received: from localhost ([127.0.0.1]:60688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKy4A-0007il-Hn for submit@debbugs.gnu.org; Thu, 26 Jan 2023 03:57:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKy47-0007iE-7w for 61022-done@debbugs.gnu.org; Thu, 26 Jan 2023 03:57:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKy40-0005Ac-5a; Thu, 26 Jan 2023 03:56:56 -0500 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=CiU/PvzwhR+ksjxIdnFVEVyH0w6OTrz3XwwZ4axClY0=; b=l4q1W7Tn6YWwi4n/AZsN y9e998xEOmwG07ediuKXGlHdVlssP0WZk5xeUIIIXdsLVycnCSgjrrebSjH7/03xHB/k6AqWe0hZB qfS4P//2yaBlC3D1eFWwhdjmbkNmeqZ05DMWuO2RebkQNNtEss5XuoM/RgNZST+FAegu/BOyZzX4P 44RcHoI4BE1ekY/P0VQvGc1XkLZTGor7Kxw5vY7lnZIe3fUly8VYqoTc1dxojevQ93jtff64Oa4EW bBLN6cFUvZDazkguVfcVD5E/kkh8zTsD1KTplvvgfQwDAwPCdPLNsfqtNmLgyT84OA5klVDEqiIef KieQexpVmkqtzQ==; Original-Received: from [87.69.77.57] (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 1pKy3z-00063j-9Q; Thu, 26 Jan 2023 03:56:55 -0500 In-Reply-To: <9e731b2056f75065a6b603aa80903400@finder.org> (message from Jared Finder on Tue, 24 Jan 2023 21:09:03 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254196 Archived-At: > Date: Tue, 24 Jan 2023 21:09:03 -0800 > From: Jared Finder > Cc: git@vladimir.panteleev.md, 61022@debbugs.gnu.org > > On 2023-01-24 4:24 am, Eli Zaretskii wrote: > >> - (read-char nil nil 0.1)) > >> + ;; Read a character with input method conversion enabled > >> + ;; but no conversion to force read-char to decode UTF-8 > >> + ;; byte sequences. > >> + (let ((input-method-function nil)) > >> + (read-char nil t 0.1))) > >> > >> This way we don't apply an actual input method conversion to > >> characters. > >> For example, without this additional change, if the 'british input > >> method was active, the # ==> £ conversion would > >> happen, causing mouse events with X=2 to instead have X=131. > > > > OK, but shouldn't we also use INHERIT-INPUT-METHOD = t in the call to > > read-char only when xterm-mouse-utf-8 option is set? Otherwise, we > > rely on read-char to not perform any conversions, but why rely on that > > if we already know we don't want any conversions in that case? Using > > nil when xterm-mouse-utf-8 is unset sounds like a more future-proof > > change, no? > > I think that's not just future-proof, it's more correct. Thanks. So I've installed such a change on the emacs-29 branch, and I'm closing this bug.