From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Siyuan Chen Newsgroups: gmane.emacs.bugs Subject: bug#71598: Text property "help-echo" display "mouse-x" incorrectly Date: Mon, 17 Jun 2024 00:34:35 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000348723061b046df5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7668"; mail-complaints-to="usenet@ciao.gmane.io" To: 71598@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 16 20:09:29 2024 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 1sIuJl-0001s6-41 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Jun 2024 20:09:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIuJK-0005Nz-L0; Sun, 16 Jun 2024 14:09:02 -0400 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 1sIuJI-0005NN-W6 for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 14:09:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIuJI-0007gI-Np for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 14:09:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sIuJJ-0000Hd-Uo for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 14:09:01 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1718561284926 (code B ref -1); Sun, 16 Jun 2024 18:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jun 2024 18:08:04 +0000 Original-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 Original-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 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 1sIsq9-0002N4-SZ for bug-gnu-emacs@gnu.org; Sun, 16 Jun 2024 12:34:49 -0400 Original-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 Original-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) 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-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 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:287342 Archived-At: --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--