[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix mouse click on flymake
From: |
Juri Linkov |
Subject: |
Re: [PATCH] Fix mouse click on flymake |
Date: |
Mon, 20 Jan 2025 19:20:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) |
> (overlay-put margin-overlay 'before-string
> (propertize " " 'display
> (list '(margin left-margin)
> (propertize "b"
> 'face 'error
> 'mouse-face 'highlight
> 'help-echo "HEE error message"
> 'keymap margin-keymap)))))
>
> When I move the mouse over the 'b' letter in the margin I can see: "My
> error", but when I click (mouse-1) I don't get the "Clicked!!"
> message but an error message: "<left-margin> <mouse-1> is undefined".
>
> Is this intended?
Either this is a bug, or this feature was not implemented at all.
I guess the latter. Because for example outline-minor-mode-cycle-map uses
(keymap-set map "<left-margin> <mouse-1>" 'outline-cycle)
instead of adding 'keymap' to the overlay.
- [PATCH] Fix mouse click on flymake, Ergus, 2025/01/18
- Re: [PATCH] Fix mouse click on flymake, Eli Zaretskii, 2025/01/19
- Re: [PATCH] Fix mouse click on flymake, Juri Linkov, 2025/01/19
- Re: [PATCH] Fix mouse click on flymake, Ergus, 2025/01/19
- Re: [PATCH] Fix mouse click on flymake, Juri Linkov, 2025/01/19
- Re: [PATCH] Fix mouse click on flymake, Ergus, 2025/01/19
- Message not available
- Re: [PATCH] Fix mouse click on flymake, Ergus, 2025/01/20
- Re: [PATCH] Fix mouse click on flymake,
Juri Linkov <=
- Re: [PATCH] Fix mouse click on flymake, Ergus, 2025/01/20
- Re: [PATCH] Fix mouse click on flymake, Eli Zaretskii, 2025/01/21
- Re: [PATCH] Fix mouse click on flymake, Ergus, 2025/01/21
- Re: [PATCH] Fix mouse click on flymake, Eli Zaretskii, 2025/01/23
- Re: [PATCH] Fix mouse click on flymake, Ergus, 2025/01/23
- Re: [PATCH] Fix mouse click on flymake, Eli Zaretskii, 2025/01/24
- Re: [PATCH] [UPDATE] Fix mouse click on flymake, Ergus, 2025/01/24
- Re: [PATCH] [UPDATE2] Fix mouse click on flymake, Ergus, 2025/01/24
- Re: [PATCH] [UPDATE2] Fix mouse click on flymake, Juri Linkov, 2025/01/25
- Re: [PATCH] [UPDATE3] Fix mouse click on flymake, Ergus, 2025/01/25