Received: (at 61022) by debbugs.gnu.org; 24 Jan 2023 12:24:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 24 07:24:44 2023 Received: from localhost ([127.0.0.1]:56034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pKIM0-0000jK-6R for submit <at> debbugs.gnu.org; Tue, 24 Jan 2023 07:24:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pKILx-0000j8-My for 61022 <at> debbugs.gnu.org; Tue, 24 Jan 2023 07:24:42 -0500 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 <eliz@HIDDEN>) id 1pKILr-0007Tq-3r; Tue, 24 Jan 2023 07:24:35 -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=ExEjf/qqBxoiZNuRMbTGFbCEbrVCs/WxCy67ohJBzmU=; b=R9Q7X8LUQNFYhK0Ym1gs PxmR8pCiYyvFIs98DQWdn6pPksVbBKYBAHhZbPmqvIAPLcrtWHUJI6v0lHsArLgYwy+iQp1kw0yTn 2yKZ16VQkAJf69+RsgpJaWMF9OLRAO/3u33iUYywb9TKlkgx4rdOl6lggVQzRpmCJL40AW4pOE8rB uTm+uzVQmfrCYJzFqtOkC870JFo04g6ieYwcUWp2gK+GjvspOGJCmluGrNbLgZ45bW+n0SDdF7LOI GEQmq7oRBaGUU0QR9KlgYMorFxQROqus2b3sJywPy5LfB2amwyld+S3nkEYog9MgZtf42QRUy7xr2 icTWpCY/6ggYcQ==; 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 <eliz@HIDDEN>) id 1pKILo-0000FM-Pl; Tue, 24 Jan 2023 07:24:34 -0500 Date: Tue, 24 Jan 2023 14:24:42 +0200 Message-Id: <831qnki0hh.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <6f9506a6b306d47ef6064747c4cecb75@HIDDEN> (message from Jared Finder on Mon, 23 Jan 2023 22:56:09 -0800) Subject: Re: bug#61022: 28.2.50; Mouse tracking of high coordinates not working in rxvt-unicode References: <87sfg2nyy5.fsf@HIDDEN> <83y1ptie7y.fsf@HIDDEN> <6f9506a6b306d47ef6064747c4cecb75@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61022 Cc: git@HIDDEN, 61022 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Mon, 23 Jan 2023 22:56:09 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: git@HIDDEN, 61022 <at> debbugs.gnu.org > > The change mostly works as inherit-input-method also causes UTF-8 > decoding to happen deep in read_char at the C level. (Is this > intentional? I assume so because read-char just reads single bytes > normally.) Yes, that's how we decode keyboard input using keyboard-coding-system. > However, I think the following change is more appropriate: > > - (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? Thanks.
bug-gnu-emacs@HIDDEN
:bug#61022
; Package emacs
.
Full text available.Received: (at 61022) by debbugs.gnu.org; 24 Jan 2023 06:56:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 24 01:56:13 2023 Received: from localhost ([127.0.0.1]:55744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pKDE5-0000De-Im for submit <at> debbugs.gnu.org; Tue, 24 Jan 2023 01:56:13 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:38042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1pKDE2-0000DV-Rj for 61022 <at> debbugs.gnu.org; Tue, 24 Jan 2023 01:56:11 -0500 Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id E57A3144; Tue, 24 Jan 2023 06:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1674543369; bh=a5HCMI3/q0gKnDLGWzGMt0Goa1RsZ7KZEZFRWrEs93E=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iRBjdxStW8Y5dQJtA1/i9oEzjZsaO7B8KCcq2gGrOVqWOwo8znt0O5Vc+h/cl3OmW IGk6Kvytl1+lXWSwFwL6uFKKHW3X3ZSqeQ2C3nLYOLuz5sAQM359Imaoc6WDekdI5L jFAHZgJQN57hEiPVFBv00R0+NJZznGH26BF4LjmKg6pZldAqO6wDq7Uzq8LVsUtlGY XTTuWMAjX8ytN4rIhzvmhQlJyig0vUzXhaAHly0tZm4c83jL72buyG9CVQQkAj9DfB K44tDhkJglBHviTs78qg1kIsrlWDw+FPV0R9HOQHvSdfJv3EAAGVEGanZBbyMCnrxl J5LWBfhKpVr9w== MIME-Version: 1.0 Date: Mon, 23 Jan 2023 22:56:09 -0800 From: Jared Finder <jared@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#61022: 28.2.50; Mouse tracking of high coordinates not working in rxvt-unicode In-Reply-To: <83y1ptie7y.fsf@HIDDEN> References: <87sfg2nyy5.fsf@HIDDEN> <83y1ptie7y.fsf@HIDDEN> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <6f9506a6b306d47ef6064747c4cecb75@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61022 Cc: git@HIDDEN, 61022 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 2023-01-23 5:15 am, Eli Zaretskii wrote: >> From: git@HIDDEN >> Date: Sun, 22 Jan 2023 19:36:50 +0000 >> >> For some reason, xt-mouse with xterm-mouse-utf-8 on isn't working for >> me >> under rxvt-unicode. I assume it worked at some point, but it's not >> working now. >> ... >> Reproducer: >> >> - Run urxvt >> - In it, run emacs -Q -nw >> - M-: (require 'xt-mouse) >> - M-: (setq xterm-mouse-utf-8 t) >> - M-x xterm-mouse-mode >> - Make sure the window is wider than 96 lines or columns >> - Move the mouse around past the 96th line or column >> >> Hope this helps. > > Jared, any comments? > > Thanks. The change mostly works as inherit-input-method also causes UTF-8 decoding to happen deep in read_char at the C level. (Is this intentional? I assume so because read-char just reads single bytes normally.) However, I think the following change is more appropriate: - (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. I verified this works for me locally. -- MJF
bug-gnu-emacs@HIDDEN
:bug#61022
; Package emacs
.
Full text available.Received: (at 61022) by debbugs.gnu.org; 23 Jan 2023 13:15:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 23 08:15:46 2023 Received: from localhost ([127.0.0.1]:53630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pJwfq-0006U4-B5 for submit <at> debbugs.gnu.org; Mon, 23 Jan 2023 08:15:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pJwfo-0006Tq-A5 for 61022 <at> debbugs.gnu.org; Mon, 23 Jan 2023 08:15:44 -0500 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 <eliz@HIDDEN>) id 1pJwfh-0006sF-MW; Mon, 23 Jan 2023 08:15:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jH75B/Tdp4rjk90IZA2b06P5zvVv5/wL1hdlhuh2xNs=; b=pa1SQd4GiLuN 75Y0rmNllGuGg2nWq6w//yWi4FW67JoI1XLEpbdYM0MznAt7goDV+IEVT5DuUUSH2YtdzklnRwypw CnWt/Ks3YPvQR+sqnexR0yQuIv4yazR8IF6/QKexTSDPKtqTPgLnCfUiJBY0T/bI6F3zz6VvGNyNx zJSbgZckp1iKWd5itfcXPjSP/WqQ7bQduJnQGMaqxOinpW0ZXulNFNfvZHJnQs7XsvdETM4RQ6dE1 S+qIhbRMyJo6BKbYRl6er6drtZrR+fryUk1TX7MBtL4DBz6SR2n3Tca7XPgFmmj35mcmmDAIub1FQ l/BSo3eTUwqwg/Md77S7Aw==; 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 <eliz@HIDDEN>) id 1pJwfh-0002ju-6X; Mon, 23 Jan 2023 08:15:37 -0500 Date: Mon, 23 Jan 2023 15:15:45 +0200 Message-Id: <83y1ptie7y.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: git@HIDDEN, Jared Finder <jared@HIDDEN> In-Reply-To: <87sfg2nyy5.fsf@HIDDEN> (git@HIDDEN) Subject: Re: bug#61022: 28.2.50; Mouse tracking of high coordinates not working in rxvt-unicode References: <87sfg2nyy5.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61022 Cc: 61022 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: git@HIDDEN > Date: Sun, 22 Jan 2023 19:36:50 +0000 > > For some reason, xt-mouse with xterm-mouse-utf-8 on isn't working for me > under rxvt-unicode. I assume it worked at some point, but it's not > working now. > > I investigated it a little and it looks like the (read-char nil nil 0.1) > call is no longer reading an entire UTF-8 character unless the > inherit-input-method argument is non-nil. I don't know why that is. > But, in any case, this patch fixes it for me: > > ---------------------------------------------------------------------- > >From 32e4b5ab67006ed08c853396686315ed373691be Mon Sep 17 00:00:00 2001 > From: Vladimir Panteleev <git@HIDDEN> > Date: Sun, 22 Jan 2023 18:54:05 +0000 > Subject: [PATCH] Fix xterm mouse tracking of high coordinates with > xterm-mouse-utf-8 > > read-char now needs inherit-input-method to be non-nil for it to read > a whole UTF-8 code point, even with set-keyboard-coding-system. > > * lisp/xt-mouse.el (xterm-mouse--read-coordinate): Call read-char with > inherit-input-method as t. > --- > lisp/xt-mouse.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el > index adfa480bc0f..2b6b448305e 100644 > --- a/lisp/xt-mouse.el > +++ b/lisp/xt-mouse.el > @@ -160,7 +160,7 @@ xterm-mouse--read-coordinate > 'no-conversion)) > ;; Wait only a little; we assume that the entire escape sequence > ;; has already been sent when this function is called. > - (read-char nil nil 0.1)) > + (read-char nil t 0.1)) > (set-keyboard-coding-system previous-keyboard-coding-system)))) > > ;; In default mode, each numeric parameter of XTerm's mouse report is > -- > 2.38.1 > ---------------------------------------------------------------------- > > Reproducer: > > - Run urxvt > - In it, run emacs -Q -nw > - M-: (require 'xt-mouse) > - M-: (setq xterm-mouse-utf-8 t) > - M-x xterm-mouse-mode > - Make sure the window is wider than 96 lines or columns > - Move the mouse around past the 96th line or column > > Hope this helps. Jared, any comments? Thanks.
bug-gnu-emacs@HIDDEN
:bug#61022
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 23 Jan 2023 05:52:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 23 00:52:25 2023 Received: from localhost ([127.0.0.1]:53063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pJpkm-0000PR-NH for submit <at> debbugs.gnu.org; Mon, 23 Jan 2023 00:52:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:60436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vladimir@HIDDEN>) id 1pJgOJ-00051S-8g for submit <at> debbugs.gnu.org; Sun, 22 Jan 2023 14:52:37 -0500 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 <vladimir@HIDDEN>) id 1pJgOI-0001If-7t for bug-gnu-emacs@HIDDEN; Sun, 22 Jan 2023 14:52:34 -0500 Received: from tunnel258969-pt.tunnel.tserv1.bud1.ipv6.he.net ([2001:470:1f1a:172::2] helo=home.thecybershadow.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vladimir@HIDDEN>) id 1pJgOE-0001W8-E0 for bug-gnu-emacs@HIDDEN; Sun, 22 Jan 2023 14:52:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=home.thecybershadow.net; s=home; h=Sender:Content-Type:MIME-Version: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vmMAe14KTSr4c0UtgeOoLG6nzY2ThHdC5tirD3kD8N0=; b=cuxwpuF/gBGICfvoKqHfgsIfZC 6fPsK1vrhhO8ofJSdYA3dBjh598cexXYMU18DnAo5ZfklkzBbdqSDnBUYBBviFqjCzvQlTCV68e9x swPmWqiEDpQBX8TNDhRqCoCON2K/tIYC2d2jCDW4yfNjoaOwIYbJVIxMm9Tuk58R4Y10=; Received: from vladimir by home.thecybershadow.net with local (Exim 4.96) (envelope-from <vladimir@HIDDEN>) id 1pJg94-004ZMc-2L for bug-gnu-emacs@HIDDEN; Sun, 22 Jan 2023 19:36:50 +0000 From: git@HIDDEN To: bug-gnu-emacs@HIDDEN Subject: 28.2.50; Mouse tracking of high coordinates not working in rxvt-unicode Date: Sun, 22 Jan 2023 19:36:50 +0000 Message-ID: <87sfg2nyy5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:470:1f1a:172::2; envelope-from=vladimir@HIDDEN; helo=home.thecybershadow.net X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 23 Jan 2023 00:52:20 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) Hi, For some reason, xt-mouse with xterm-mouse-utf-8 on isn't working for me under rxvt-unicode. I assume it worked at some point, but it's not working now. I investigated it a little and it looks like the (read-char nil nil 0.1) call is no longer reading an entire UTF-8 character unless the inherit-input-method argument is non-nil. I don't know why that is. But, in any case, this patch fixes it for me: ---------------------------------------------------------------------- From 32e4b5ab67006ed08c853396686315ed373691be Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev <git@HIDDEN> Date: Sun, 22 Jan 2023 18:54:05 +0000 Subject: [PATCH] Fix xterm mouse tracking of high coordinates with xterm-mouse-utf-8 read-char now needs inherit-input-method to be non-nil for it to read a whole UTF-8 code point, even with set-keyboard-coding-system. * lisp/xt-mouse.el (xterm-mouse--read-coordinate): Call read-char with inherit-input-method as t. --- lisp/xt-mouse.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/xt-mouse.el b/lisp/xt-mouse.el index adfa480bc0f..2b6b448305e 100644 --- a/lisp/xt-mouse.el +++ b/lisp/xt-mouse.el @@ -160,7 +160,7 @@ xterm-mouse--read-coordinate 'no-conversion)) ;; Wait only a little; we assume that the entire escape sequence ;; has already been sent when this function is called. - (read-char nil nil 0.1)) + (read-char nil t 0.1)) (set-keyboard-coding-system previous-keyboard-coding-system)))) ;; In default mode, each numeric parameter of XTerm's mouse report is -- 2.38.1 ---------------------------------------------------------------------- Reproducer: - Run urxvt - In it, run emacs -Q -nw - M-: (require 'xt-mouse) - M-: (setq xterm-mouse-utf-8 t) - M-x xterm-mouse-mode - Make sure the window is wider than 96 lines or columns - Move the mouse around past the 96th line or column Hope this helps. In GNU Emacs 28.2.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2022-10-03 built on home.thecybershadow.net Repository revision: 992611b10a2ef4621b5c936d80cf31644ca3653d Repository branch: makepkg System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --without-gsettings --enable-link-time-optimization --with-xinput2 --with-native-compilation --with-x-toolkit=lucid --with-xft --with-xaw3d --without-cairo --with-sound=alsa --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fuse-ld=gold -fuse-ld=gold' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XFT XIM XPM LUCID ZLIB Important settings: value of $LC_TIME: en_DK.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Magit Minor modes in effect: diff-hl-margin-mode: t xterm-mouse-mode: t which-key-mode: t global-undo-tree-mode: t undo-tree-mode: t term-title-mode: t term-keys-mode: t term-cursor-color-mode: t save-place-mode: t savehist-mode: t projectile-mode: t delete-selection-mode: t cua-mode: t helm-mode: t helm-minibuffer-history-mode: t recentf-mode: t async-bytecomp-package-mode: t global-diff-hl-mode: t global-company-mode: t company-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t global-flycheck-mode: t override-global-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /home/vladimir/.emacs.d/straight/build/cmake-mode/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/vladimir/work/extern/notmuch/emacs/notmuch hides /usr/share/emacs/site-lisp/notmuch /home/vladimir/work/extern/notmuch/emacs/notmuch-wash hides /usr/share/emacs/site-lisp/notmuch-wash /home/vladimir/work/extern/notmuch/emacs/notmuch-version hides /usr/share/emacs/site-lisp/notmuch-version /home/vladimir/work/extern/notmuch/emacs/notmuch-tree hides /usr/share/emacs/site-lisp/notmuch-tree /home/vladimir/work/extern/notmuch/emacs/notmuch-tag hides /usr/share/emacs/site-lisp/notmuch-tag /home/vladimir/work/extern/notmuch/emacs/notmuch-show hides /usr/share/emacs/site-lisp/notmuch-show /home/vladimir/work/extern/notmuch/emacs/notmuch-query hides /usr/share/emacs/site-lisp/notmuch-query /home/vladimir/work/extern/notmuch/emacs/notmuch-print hides /usr/share/emacs/site-lisp/notmuch-print /home/vladimir/work/extern/notmuch/emacs/notmuch-parser hides /usr/share/emacs/site-lisp/notmuch-parser /home/vladimir/work/extern/notmuch/emacs/notmuch-mua hides /usr/share/emacs/site-lisp/notmuch-mua /home/vladimir/work/extern/notmuch/emacs/notmuch-message hides /usr/share/emacs/site-lisp/notmuch-message /home/vladimir/work/extern/notmuch/emacs/notmuch-maildir-fcc hides /usr/share/emacs/site-lisp/notmuch-maildir-fcc /home/vladimir/work/extern/notmuch/emacs/notmuch-lib hides /usr/share/emacs/site-lisp/notmuch-lib /home/vladimir/work/extern/notmuch/emacs/notmuch-jump hides /usr/share/emacs/site-lisp/notmuch-jump /home/vladimir/work/extern/notmuch/emacs/notmuch-hello hides /usr/share/emacs/site-lisp/notmuch-hello /home/vladimir/work/extern/notmuch/emacs/notmuch-draft hides /usr/share/emacs/site-lisp/notmuch-draft /home/vladimir/work/extern/notmuch/emacs/notmuch-crypto hides /usr/share/emacs/site-lisp/notmuch-crypto /home/vladimir/work/extern/notmuch/emacs/notmuch-compat hides /usr/share/emacs/site-lisp/notmuch-compat /home/vladimir/work/extern/notmuch/emacs/notmuch-company hides /usr/share/emacs/site-lisp/notmuch-company /home/vladimir/work/extern/notmuch/emacs/notmuch-address hides /usr/share/emacs/site-lisp/notmuch-address /home/vladimir/work/extern/notmuch/emacs/coolj hides /usr/share/emacs/site-lisp/coolj /home/vladimir/.emacs.d/straight/build/transient/transient hides /usr/share/emacs/28.2.50/lisp/transient /home/vladimir/.emacs.d/straight/build/jsonrpc/jsonrpc hides /usr/share/emacs/28.2.50/lisp/jsonrpc /home/vladimir/.emacs.d/straight/build/xref/xref hides /usr/share/emacs/28.2.50/lisp/progmodes/xref /home/vladimir/.emacs.d/straight/build/project/project hides /usr/share/emacs/28.2.50/lisp/progmodes/project /home/vladimir/.emacs.d/straight/build/flymake/flymake hides /usr/share/emacs/28.2.50/lisp/progmodes/flymake /home/vladimir/.emacs.d/straight/build/let-alist/let-alist hides /usr/share/emacs/28.2.50/lisp/emacs-lisp/let-alist /home/vladimir/.emacs.d/straight/build/eldoc/eldoc hides /usr/share/emacs/28.2.50/lisp/emacs-lisp/eldoc Memory information: ((conses 16 752116 488420) (symbols 48 78701 92) (strings 32 328620 30949) (string-bytes 1 8451232) (vectors 16 105736) (vector-slots 8 3130938 240432) (floats 8 458 3116) (intervals 56 3490 2630) (buffers 992 30))
git@HIDDEN
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#61022
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.