GNU bug report logs -
#78106
[Feature Request] EGLOT: Optionally make code action indications use mouse clicks
Previous Next
Reported by: João Távora <joaotavora <at> gmail.com>
Date: Mon, 28 Apr 2025 07:22:01 UTC
Severity: wishlist
Done: João Távora <joaotavora <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 78106 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Try clicking with the middle mouse button. It's the same button you use
when clicking a diagnostic that has an action.
João Távora
On Tue, Apr 29, 2025, 00:32 Elijah Gabe Pérez <eg642616 <at> gmail.com> wrote:
> João Távora <joaotavora <at> gmail.com> 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.
>
[Message part 2 (text/html, inline)]
This bug report was last modified 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.