Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks

From: Elijah Gabe Pérez <[email-masked]>
Date: Mon, 28 Apr 2025 17:32:54 -0600

João Távora <[email-masked]> writes:

> They should be mouse clickable, though the margin and fringe are contested for multiple functions (like
> opening the Flymake diagnostics buffer when theres a diagnostic on the line).
>
> So please provide an Emacs -Q recipe for reproducing your problem exactly. 

1. Run emacs -Q
2. eval:
    (set-window-margins (get-buffer-window) 3)
    (setopt eglot-code-action-indications
            '(eldoc-hint margin nearby mode-line))
3. Open a file which supports eglot (example: any Emacs C source file) and
   enable eglot.
4. Move cursor/point to where there is any code action available.
   (for example in any Emacs C source file, move to any DEFUN or macro)
5. And click the 💡 icon where it appears (margin/mode-line/before point).

   It doesn't nothing, something curious is that with mode-line/nearby
   options the lightbulb icon have a `mouse-face' property, which gives the
   impression that you can click it.

-- 
                                          - E.G via GNU Emacs and Org.