From unknown Thu Aug 21 12:11:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#71598: Text property "help-echo" display "mouse-x" incorrectly Resent-From: Siyuan Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2024 18:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 71598@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1718561284926 (code B ref -1); Sun, 16 Jun 2024 18:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jun 2024 18:08:04 +0000 Received: from localhost ([127.0.0.1]:48550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIuIN-0000Eq-W8 for submit@debbugs.gnu.org; Sun, 16 Jun 2024 14:08:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:57020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIsqB-0001Y7-Mq for submit@debbugs.gnu.org; Sun, 16 Jun 2024 12:34:52 -0400 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 1sIsq9-0002N4-SZ for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 12:34:49 -0400 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIsq8-00017V-BC for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 12:34:49 -0400 Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-dff2c84cbdbso790204276.1 for ; Sun, 16 Jun 2024 09:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718555686; x=1719160486; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=d4Mo6kOocT7i4AKwh30ZiQp50MaolAAyHuXnFuu7Lfo=; b=MITy4XWvWsGzuQvlV8icyMSCcy1MfKkqvWSVnWJNyk0haens6UC25QGfQlz9ibv5BQ fyjywuwhZ8FeMeb6XTql/pYIM/izgSMU0unXfMvD+G75NP9qbiHK4eDBipOJ2K6bSUBm rwaGD66e7agX0Wi6J96tNoOPA/PAEYsbROVbX+t1ECCAbyDHxbowRPtdLakRNuOg9W1p vJ11HYFJXWPxhVngQ0kNRLJ53ug3aegFjHGi1rtb5C4VJq6pkmm0l0/Y1U3xGnn7JyTJ rZVoaIDMUDup9ZNR/8jfHgrHjbvL+Qfbxn0fpsjkHvXFJM9o5seQ/m1Rvd3m9FvbToRr bU6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718555686; x=1719160486; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=d4Mo6kOocT7i4AKwh30ZiQp50MaolAAyHuXnFuu7Lfo=; b=VTtFkutFpM7tJuys2HaN3REZ+BHMW0f/+c5Gm+qDYu8ySnZSBsOhk0f4QR5hp2DKVL BzlkN5mfVYVPh0id7TyGtFpHQ5popyJpSHrYEJV6li+4wvvLl+daHJnlGSjfjJ7O3MZ8 TMfg7P6FXufoB9Ba8iLmnPBXkiP09jsy+vcrGDDgDCk9ecaNzIBsvpwYJ02MoDkrItOk hu+6HqOoia6NJ5Juv2z2WTcuaF8rGs/n1EJnt0J3Szw34KDt0Hz3A6qPwcHu+GGfcohD yltVSWDfDdsvbr5sGr/xkUzdm2gCsNzBW/FJeHHA0DfPa7wzkJ22y1X1rUcPBURJ4sFp 1HOw== X-Gm-Message-State: AOJu0YwXG3zYsox+Ncm+unvmQu48TbL3LxrF+Oul1jZ9CU9nk2AGDNi1 oT7B+Qms0C6NB/B2o9kWet0JsABHZ+/GFcpiaW46EoGBQu4nlc6at0Lso7tKpVJwQNG5xUFBnmZ PvmSmNHLTUw0dwutOYXJAz4O+la0ZmnvFj8w= X-Google-Smtp-Source: AGHT+IHnf5sECiU7jsF00ovgNOL0t7WNpQuK6YO02euUVcK/uNar1roxjFQezQpNvqI14SPmAiM9IHA0/+pUK6gn+rI= X-Received: by 2002:a25:8452:0:b0:dfd:a095:f98c with SMTP id 3f1490d57ef6-dff138fb963mr5158422276.21.1718555686239; Sun, 16 Jun 2024 09:34:46 -0700 (PDT) MIME-Version: 1.0 From: Siyuan Chen Date: Mon, 17 Jun 2024 00:34:35 +0800 Message-ID: Content-Type: multipart/alternative; boundary="000000000000348723061b046df5" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2f; envelope-from=chansey97@gmail.com; helo=mail-yb1-xb2f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Mailman-Approved-At: Sun, 16 Jun 2024 14:08:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000348723061b046df5 Content-Type: text/plain; charset="UTF-8" The reproduce steps: 1. Open Emacs with -Q 2. Copy the following code to *scratch* ``` (with-current-buffer (get-buffer-create "*TestBuffer*") (let ((inhibit-read-only t)) (insert (propertize "aaaa" 'mouse-face 'highlight 'follow-link t 'help-echo "mouse-2: some tips")) )) ``` 3. Put the cursor after the last parenthesis and M-x `eval-last-sexp` 4. M-x `switch-to-buffer` "*TestBuffer*" 5. Put the mouse over "aaaa". The Expected Behavior: shows "mouse-2: some tips". The Actual Behavior: shows "mouse-1: some tips". Emacs 29.3 on Windows 10. Anyone can reproduce it? Thanks. Best Regards, Siyuan Chen --000000000000348723061b046df5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The reproduce steps:

1. = Open Emacs with -Q

2. Copy the following code to *= scratch*

```
(with-current-buffer (get-b= uffer-create "*TestBuffer*")
=C2=A0 (let ((inhibit-read-only t= ))
=C2=A0 =C2=A0 (insert (propertize "aaaa"
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '= mouse-face 'highlight
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'follow-link t
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '= help-echo "mouse-2: some tips"))
=C2=A0 =C2=A0 ))
``= `

3. Put the cursor after the last=20 parenthesis and M-x `eval-last-sexp`

4. M-x `switch-to-b= uffer` "*TestBuffer*"

5. Put the mouse o= ver "aaaa".

The Expected Behavior: shows= =20 "mouse-2: some tips".

The Actual Behavior: shows=20 "mouse-1: some tips".

Emacs 29.3 on Windows 10.

Anyone can reproduce it? Thanks.

Best Regards,
Siyuan Chen
--000000000000348723061b046df5-- From unknown Thu Aug 21 12:11:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#71598: Text property "help-echo" display "mouse-x" incorrectly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2024 19:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Siyuan Chen Cc: 71598@debbugs.gnu.org Received: via spool by 71598-submit@debbugs.gnu.org id=B71598.171856460810118 (code B ref 71598); Sun, 16 Jun 2024 19:04:01 +0000 Received: (at 71598) by debbugs.gnu.org; 16 Jun 2024 19:03:28 +0000 Received: from localhost ([127.0.0.1]:51822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIv9z-0002d6-H7 for submit@debbugs.gnu.org; Sun, 16 Jun 2024 15:03:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIv9x-0002cn-Mx; Sun, 16 Jun 2024 15:03:26 -0400 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 1sIv9q-0000GS-P7; Sun, 16 Jun 2024 15:03:18 -0400 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=C914FSOlNtxZ5OV/ty3l8HCdKgeYg6nS8RfBMChmCho=; b=XcqkgcuYgv2J MY2Knimh4DBnizVegNlBNFov21G3/fqbAl3cXjW4MMysltOQmTXetQsEulGH1P0YBi2qTkRneoOPE 62ChrRTc96dNQIY1saST5NykwOo0JrY2pgq8Z0Z+s9uxdUwtzumjqIUJC+VMflLwQy3poresjY+oi HE2Eiti4X1NMRXqxwieTWen4z8iHbkb9+2Rsgj8YkIcWZAF7EmTNOC7SCojgogrzQ79MVKErjzrLN os7DLWB2sbTZCiycHT9dIa+3dQoIZ3Oyv/zTpm9wfiRbUE+CXYuWAErPvqb5DPieH926/UvH1wIAu CsAkiIDd3TWzQxByUcdb1A==; Date: Sun, 16 Jun 2024 22:03:15 +0300 Message-Id: <86cyogsob0.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Siyuan Chen on Mon, 17 Jun 2024 00:34:35 +0800) References: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 71598 notabug thanks > From: Siyuan Chen > Date: Mon, 17 Jun 2024 00:34:35 +0800 > > 1. Open Emacs with -Q > > 2. Copy the following code to *scratch* > > ``` > (with-current-buffer (get-buffer-create "*TestBuffer*") > (let ((inhibit-read-only t)) > (insert (propertize "aaaa" > 'mouse-face 'highlight > 'follow-link t > 'help-echo "mouse-2: some tips")) > )) > ``` > > 3. Put the cursor after the last parenthesis and M-x `eval-last-sexp` > > 4. M-x `switch-to-buffer` "*TestBuffer*" > > 5. Put the mouse over "aaaa". > > The Expected Behavior: shows "mouse-2: some tips". > > The Actual Behavior: shows "mouse-1: some tips". This is not a bug, but the intended behavior. It is triggered by the follow-link text property and the default value of mouse-1-click-follows-link. If you don't like this behavior, set mouse-1-click-follows-link to nil. From unknown Thu Aug 21 12:11:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#71598: Text property "help-echo" display "mouse-x" incorrectly Resent-From: Siyuan Chen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2024 23:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Eli Zaretskii Cc: 71598@debbugs.gnu.org Received: via spool by 71598-submit@debbugs.gnu.org id=B71598.171858174321512 (code B ref 71598); Sun, 16 Jun 2024 23:50:02 +0000 Received: (at 71598) by debbugs.gnu.org; 16 Jun 2024 23:49:03 +0000 Received: from localhost ([127.0.0.1]:56602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIzcM-0005at-G2 for submit@debbugs.gnu.org; Sun, 16 Jun 2024 19:49:02 -0400 Received: from mail-yw1-f180.google.com ([209.85.128.180]:57840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIzcK-0005aN-Ab for 71598@debbugs.gnu.org; Sun, 16 Jun 2024 19:49:01 -0400 Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-632bcf111ffso21823587b3.3 for <71598@debbugs.gnu.org>; Sun, 16 Jun 2024 16:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718581673; x=1719186473; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rBMGU8kElKvNpmOp4KhKEzlmOPaS7Y8fFeVSnWuE73k=; b=XyS5or7Bf3riS+AVClRvs7DeMcsjp4VCf2+VRhSMxWcgGyEwUY6lw2wMXJ4JiTqkL0 1ciH4JQM1wL/Md+624kDalVG6T/QOcsKGybJLzBZhQyk0+O6QUPX+77fpUZnYpmrW0Fl ZDjHtYZPaKTY3hX6SUSgNrhPP/h3Py+ZP8PXW/2lLDm7MaJIL1wE6xDJoq8Dtum4eccJ 6stTT+9YyXlubkREHANx+zgRCjEI7nCIHmhFAKCJXDURrwe3f2vgjrblt0l5uqqY49Ga iopJOVcHDrPiE410lAv8JgcjVXgeAJPys7EO0gfpy2OjshoiuRJozdWcw2HBpXtIpCdr 7hTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718581673; x=1719186473; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rBMGU8kElKvNpmOp4KhKEzlmOPaS7Y8fFeVSnWuE73k=; b=tPYOVshHeyZESA6ZZo/Krt7SIfIYjco/qxWFtQlSjEnx5b1T53I2tyYQ4N9Qi6G18+ 1bv8/PCmtP3toZYyqdAqjlB9B4gcDQK2CwgSxOetBZM5vxg8+T/QzId9cjBcZzW5uAac jbHUHIhRpZfDXpjLPnsKBtMd+oHkVh6Uis6I+CVvOBUaA02byYk3RgW5mzWK4WJhzQ6E +vUGyF66oxwUQdRibyolM7knTAiMTBgeWQLsnLpTy1Jrzl0RVwzkT7rXRfgA+lnAhS8O I5r7bUO/GmMkYaQ5lVg6kcQWLe26GcxCd9pWCmyLhO2OvlvnZSSdpm8ct1+x/nYpuGiy nq9Q== X-Gm-Message-State: AOJu0YysDE3cHXJc99RxyLsSyHXBVi8BOTPRLHJcneImM52S4+Npqnj7 eakvxOwrRzfA5NZWRit81Z3FU9DpjBwW2m9mX/EfRG3RfJxYwX9Ycml6KUxjNSa1BvyaXbHP9Dc 1JpJHo6SNSOw3qLPOu6hmqwm7StY= X-Google-Smtp-Source: AGHT+IG7zEZHrQOUzt3AhrQnOTmLP+IynYTi0H/2ispnaqJ6Py3b2HQj6RhJjv397Ib1kz2C03Q25xp/O3ri0eHoyWI= X-Received: by 2002:a81:8845:0:b0:615:8c1:d7ec with SMTP id 00721157ae682-63224a0a4f1mr74551177b3.33.1718581672820; Sun, 16 Jun 2024 16:47:52 -0700 (PDT) MIME-Version: 1.0 References: <86cyogsob0.fsf@gnu.org> In-Reply-To: <86cyogsob0.fsf@gnu.org> From: Siyuan Chen Date: Mon, 17 Jun 2024 07:47:40 +0800 Message-ID: Content-Type: multipart/alternative; boundary="000000000000204a2b061b0a7a66" X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --000000000000204a2b061b0a7a66 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I reported this issue because I once wanted to search the Emacs codebase for a string, such as "mouse-1: some tips" on mouse hover, but couldn't find it. Later I realized that it was automatically mapped to "mouse-2". Emacs seems to recognize some keywords (e.g. "mouse-1", "mouse-2") at the beginning of the string on help-echo. Anyway, now I know what happened there. Thanks. Best regards, Siyuan Chen On Mon, Jun 17, 2024 at 3:03=E2=80=AFAM Eli Zaretskii wrote: > tags 71598 notabug > thanks > > > From: Siyuan Chen > > Date: Mon, 17 Jun 2024 00:34:35 +0800 > > > > 1. Open Emacs with -Q > > > > 2. Copy the following code to *scratch* > > > > ``` > > (with-current-buffer (get-buffer-create "*TestBuffer*") > > (let ((inhibit-read-only t)) > > (insert (propertize "aaaa" > > 'mouse-face 'highlight > > 'follow-link t > > 'help-echo "mouse-2: some tips")) > > )) > > ``` > > > > 3. Put the cursor after the last parenthesis and M-x `eval-last-sexp` > > > > 4. M-x `switch-to-buffer` "*TestBuffer*" > > > > 5. Put the mouse over "aaaa". > > > > The Expected Behavior: shows "mouse-2: some tips". > > > > The Actual Behavior: shows "mouse-1: some tips". > > This is not a bug, but the intended behavior. It is triggered by the > follow-link text property and the default value of > mouse-1-click-follows-link. If you don't like this behavior, set > mouse-1-click-follows-link to nil. > --000000000000204a2b061b0a7a66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I reported this issue because I once wanted to search the Emacs codebase for a string, such as "mouse-1: some tips" on mouse hover, but c= ouldn't find it. Later I realized that it was automatically mapped to=20 "mouse-2". Emacs seems to recognize some keywords (e.g. "mou= se-1",=20 "mouse-2") at the beginning of the string on help-echo.

Anyway,=20 now=20 I know what happened there.

Thanks.
=

Best regards,
Siyuan Chen

= On Mon, Jun 17, 2024 at 3:03=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
tags 71598 notabug
thanks

> From: Siyuan Chen <chansey97@gmail.com>
> Date: Mon, 17 Jun 2024 00:34:35 +0800
>
> 1. Open Emacs with -Q
>
> 2. Copy the following code to *scratch*
>
> ```
> (with-current-buffer (get-buffer-create "*TestBuffer*")
>=C2=A0 =C2=A0(let ((inhibit-read-only t))
>=C2=A0 =C2=A0 =C2=A0(insert (propertize "aaaa"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'mouse-face 'highlight
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'follow-link t
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0'help-echo "mouse-2: some tips"))
>=C2=A0 =C2=A0 =C2=A0))
> ```
>
> 3. Put the cursor after the last parenthesis and M-x `eval-last-sexp`<= br> >
> 4. M-x `switch-to-buffer` "*TestBuffer*"
>
> 5. Put the mouse over "aaaa".
>
> The Expected Behavior: shows "mouse-2: some tips".
>
> The Actual Behavior: shows "mouse-1: some tips".

This is not a bug, but the intended behavior.=C2=A0 It is triggered by the<= br> follow-link text property and the default value of
mouse-1-click-follows-link.=C2=A0 If you don't like this behavior, set<= br> mouse-1-click-follows-link to nil.
--000000000000204a2b061b0a7a66-- From unknown Thu Aug 21 12:11:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Siyuan Chen Subject: bug#71598: closed (Re: bug#71598: Text property "help-echo" display "mouse-x" incorrectly) Message-ID: References: <86msndicns.fsf@gnu.org> X-Gnu-PR-Message: they-closed 71598 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 71598@debbugs.gnu.org Date: Sat, 22 Jun 2024 08:51:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1719046262-1214-1" This is a multi-part message in MIME format... ------------=_1719046262-1214-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #71598: Text property "help-echo" display "mouse-x" incorrectly which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 71598@debbugs.gnu.org. --=20 71598: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71598 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1719046262-1214-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 71598-done) by debbugs.gnu.org; 22 Jun 2024 08:50:59 +0000 Received: from localhost ([127.0.0.1]:44356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKwSZ-0000J4-GQ for submit@debbugs.gnu.org; Sat, 22 Jun 2024 04:50:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKwSX-0000Iq-DB for 71598-done@debbugs.gnu.org; Sat, 22 Jun 2024 04:50:57 -0400 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 1sKwSP-0000ht-HI; Sat, 22 Jun 2024 04:50:52 -0400 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=eS6ySz1gah8Yg7Ip6Dm3sWiNb4sPnclP1kztn9nquR0=; b=W06eniRYo7r9 cZ/l6z8nAanI3gFnjzb+BZ308yOgCsx8pJijOkiBfqpUYHMQF65M7qZ45jabk0WOUn/gjgNGpJt56 Zk/iKPkZ4GBBe2ItZJ0sSCMBx+Eb94T03BB3gCNFXcECX21wIPvJQ5xIGcaXpaE8a/Pesefkk95dI ELh4Yw3e8MPQ1ozL0MV3gwJS5jLboeMq0i+2crgsZKjtT7XaqaclbhmLt7qGBEasl839PqovEXrtG VvJ/uWPClonpPyFzY7KXoR8MdwEgbmZW9qP+bknydPebjPogtIFgUaRgy9B6EK5lX4LESTV5VJRfI ziu851W02qgP3ukupZXekg==; Date: Sat, 22 Jun 2024 11:50:47 +0300 Message-Id: <86msndicns.fsf@gnu.org> From: Eli Zaretskii To: Siyuan Chen In-Reply-To: (message from Siyuan Chen on Mon, 17 Jun 2024 07:47:40 +0800) Subject: Re: bug#71598: Text property "help-echo" display "mouse-x" incorrectly References: <86cyogsob0.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71598-done Cc: 71598-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Siyuan Chen > Date: Mon, 17 Jun 2024 07:47:40 +0800 > Cc: 71598@debbugs.gnu.org > > I reported this issue because I once wanted to search the Emacs codebase for a string, such as "mouse-1: > some tips" on mouse hover, but couldn't find it. Later I realized that it was automatically mapped to "mouse-2". > Emacs seems to recognize some keywords (e.g. "mouse-1", "mouse-2") at the beginning of the string on > help-echo. > > Anyway, now I know what happened there. OK, closing. ------------=_1719046262-1214-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Jun 2024 18:08:04 +0000 Received: from localhost ([127.0.0.1]:48550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIuIN-0000Eq-W8 for submit@debbugs.gnu.org; Sun, 16 Jun 2024 14:08:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:57020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIsqB-0001Y7-Mq for submit@debbugs.gnu.org; Sun, 16 Jun 2024 12:34:52 -0400 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 1sIsq9-0002N4-SZ for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 12:34:49 -0400 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIsq8-00017V-BC for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 12:34:49 -0400 Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-dff2c84cbdbso790204276.1 for ; Sun, 16 Jun 2024 09:34:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718555686; x=1719160486; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=d4Mo6kOocT7i4AKwh30ZiQp50MaolAAyHuXnFuu7Lfo=; b=MITy4XWvWsGzuQvlV8icyMSCcy1MfKkqvWSVnWJNyk0haens6UC25QGfQlz9ibv5BQ fyjywuwhZ8FeMeb6XTql/pYIM/izgSMU0unXfMvD+G75NP9qbiHK4eDBipOJ2K6bSUBm rwaGD66e7agX0Wi6J96tNoOPA/PAEYsbROVbX+t1ECCAbyDHxbowRPtdLakRNuOg9W1p vJ11HYFJXWPxhVngQ0kNRLJ53ug3aegFjHGi1rtb5C4VJq6pkmm0l0/Y1U3xGnn7JyTJ rZVoaIDMUDup9ZNR/8jfHgrHjbvL+Qfbxn0fpsjkHvXFJM9o5seQ/m1Rvd3m9FvbToRr bU6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718555686; x=1719160486; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=d4Mo6kOocT7i4AKwh30ZiQp50MaolAAyHuXnFuu7Lfo=; b=VTtFkutFpM7tJuys2HaN3REZ+BHMW0f/+c5Gm+qDYu8ySnZSBsOhk0f4QR5hp2DKVL BzlkN5mfVYVPh0id7TyGtFpHQ5popyJpSHrYEJV6li+4wvvLl+daHJnlGSjfjJ7O3MZ8 TMfg7P6FXufoB9Ba8iLmnPBXkiP09jsy+vcrGDDgDCk9ecaNzIBsvpwYJ02MoDkrItOk hu+6HqOoia6NJ5Juv2z2WTcuaF8rGs/n1EJnt0J3Szw34KDt0Hz3A6qPwcHu+GGfcohD yltVSWDfDdsvbr5sGr/xkUzdm2gCsNzBW/FJeHHA0DfPa7wzkJ22y1X1rUcPBURJ4sFp 1HOw== X-Gm-Message-State: AOJu0YwXG3zYsox+Ncm+unvmQu48TbL3LxrF+Oul1jZ9CU9nk2AGDNi1 oT7B+Qms0C6NB/B2o9kWet0JsABHZ+/GFcpiaW46EoGBQu4nlc6at0Lso7tKpVJwQNG5xUFBnmZ PvmSmNHLTUw0dwutOYXJAz4O+la0ZmnvFj8w= X-Google-Smtp-Source: AGHT+IHnf5sECiU7jsF00ovgNOL0t7WNpQuK6YO02euUVcK/uNar1roxjFQezQpNvqI14SPmAiM9IHA0/+pUK6gn+rI= X-Received: by 2002:a25:8452:0:b0:dfd:a095:f98c with SMTP id 3f1490d57ef6-dff138fb963mr5158422276.21.1718555686239; Sun, 16 Jun 2024 09:34:46 -0700 (PDT) MIME-Version: 1.0 From: Siyuan Chen Date: Mon, 17 Jun 2024 00:34:35 +0800 Message-ID: Subject: Text property "help-echo" display "mouse-x" incorrectly To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000348723061b046df5" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2f; envelope-from=chansey97@gmail.com; helo=mail-yb1-xb2f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 16 Jun 2024 14:08:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000348723061b046df5 Content-Type: text/plain; charset="UTF-8" The reproduce steps: 1. Open Emacs with -Q 2. Copy the following code to *scratch* ``` (with-current-buffer (get-buffer-create "*TestBuffer*") (let ((inhibit-read-only t)) (insert (propertize "aaaa" 'mouse-face 'highlight 'follow-link t 'help-echo "mouse-2: some tips")) )) ``` 3. Put the cursor after the last parenthesis and M-x `eval-last-sexp` 4. M-x `switch-to-buffer` "*TestBuffer*" 5. Put the mouse over "aaaa". The Expected Behavior: shows "mouse-2: some tips". The Actual Behavior: shows "mouse-1: some tips". Emacs 29.3 on Windows 10. Anyone can reproduce it? Thanks. Best Regards, Siyuan Chen --000000000000348723061b046df5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The reproduce steps:

1. = Open Emacs with -Q

2. Copy the following code to *= scratch*

```
(with-current-buffer (get-b= uffer-create "*TestBuffer*")
=C2=A0 (let ((inhibit-read-only t= ))
=C2=A0 =C2=A0 (insert (propertize "aaaa"
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '= mouse-face 'highlight
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 'follow-link t
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '= help-echo "mouse-2: some tips"))
=C2=A0 =C2=A0 ))
``= `

3. Put the cursor after the last=20 parenthesis and M-x `eval-last-sexp`

4. M-x `switch-to-b= uffer` "*TestBuffer*"

5. Put the mouse o= ver "aaaa".

The Expected Behavior: shows= =20 "mouse-2: some tips".

The Actual Behavior: shows=20 "mouse-1: some tips".

Emacs 29.3 on Windows 10.

Anyone can reproduce it? Thanks.

Best Regards,
Siyuan Chen
--000000000000348723061b046df5-- ------------=_1719046262-1214-1--