emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71598: closed (Text property "help-echo" display "mouse-x" incorrect


From: GNU bug Tracking System
Subject: bug#71598: closed (Text property "help-echo" display "mouse-x" incorrectly)
Date: Sat, 22 Jun 2024 08:51:02 +0000

Your message dated Sat, 22 Jun 2024 11:50:47 +0300
with message-id <86msndicns.fsf@gnu.org>
and subject line Re: bug#71598: Text property "help-echo" display "mouse-x" 
incorrectly
has caused the debbugs.gnu.org bug report #71598,
regarding Text property "help-echo" display "mouse-x" incorrectly
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
71598: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71598
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Text property "help-echo" display "mouse-x" incorrectly Date: Mon, 17 Jun 2024 00:34:35 +0800
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

--- End Message ---
--- Begin Message --- Subject: Re: bug#71598: Text property "help-echo" display "mouse-x" incorrectly Date: Sat, 22 Jun 2024 11:50:47 +0300
> From: Siyuan Chen <chansey97@gmail.com>
> 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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]