Received: (at 78106) by debbugs.gnu.org; 1 May 2025 10:03:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 01 06:03:18 2025 Received: from localhost ([127.0.0.1]:48775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uAQlB-0008SY-Lz for submit <at> debbugs.gnu.org; Thu, 01 May 2025 06:03:18 -0400 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:61453) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1uAQl8-0008S7-Cv for 78106 <at> debbugs.gnu.org; Thu, 01 May 2025 06:03:15 -0400 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5f728aeedacso1177826a12.2 for <78106 <at> debbugs.gnu.org>; Thu, 01 May 2025 03:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746093788; x=1746698588; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/6iT7fA3rGPypI8UW3JIPIeasoVa8ARNlH1UKrHSbgs=; b=eSPY5SPl+sAOm7zzOf72LpFhypiwQ9wdNVIxLgH/B6PegUsasSvI6WiB20+TdVeSm/ KbEs6nQdk/DH3NmN2JOgiFnIAar85msUtMyHg0+nQFOiZ8SWr1rYIwP8xi2xj84zYdjs Y3L1nHOPdnDvKYWfe0Skh9CfEhSOXmwJB8vZHtx7x/MzqiQjbDvZOHTGWAENCvnob76V n6jHgvSyP0TwWsut00rHWh+zIYU9QCkyU5TlZ8DG5ktVNPb3f2qSnm1DnQjGSLUZiDDL 1srV5wQT9nShNYpctEWisL7GqtYv5CeSiN3aI4T/wOwK5DxVPsIO/g8foIBGdX1JWS+C kzPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746093788; x=1746698588; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/6iT7fA3rGPypI8UW3JIPIeasoVa8ARNlH1UKrHSbgs=; b=g2nQZ1D6+YC9KM6fMxOPd1FRZ0HyjgRxYUGGLTn1Q85PSDrDLeC8zzdix6Isw0sc7+ PQJkcyzHQyofUF+cBgIo0HMYxhyCQAw5nGWc19B2QfqsCbRCMfAhHjRpjISaPomTjbDe ySy5D1NQF8BoExTBPqvmszboSvVwYeutSVvwMFqu3o+xEdPJW5pKaJy0Gwp8j0le888O vRvOHzGi3MSQXLLq8Vq3ijRvw9yQcit5l0m3wfla0+KMV5DFNYXMAM242/0lVas9TqcR HI7Bkocu0O+8GZeL4m2C2RIrs9pVSprIfbV5j2MWfFWf6Cn8GVj5z7OhWIWiYRmfAhbC 45AQ== X-Gm-Message-State: AOJu0YzSqcFwmEJNTeUTGbiuyOCrMLlcfKjm6lXH3FY5mkKcfdvkY0u4 dQ0hans8mNG/6sMsGr1ahsMMzNY4MhRCLLXNQUOS2+6KXVp3KE8SaKxGfw== X-Gm-Gg: ASbGncsZdim/VqfZgBISFoO2ps3EslJ9wGzs5NtAFcCMY/gEyWWacJfke4OU01//5Z1 kcuypw/f+JYkKw7JwQrcxf7xi9u1BKb7rxAAekjtcl1y00eRvWc7ovT61+aoWd7inyRhL/kZoIv xVgjP9KgZii3nQzK/h81+5lznvunYiTNUWRHj/py9z8Hb24pguL4URejNMfxZiWiCzkKLls1ZAa rE226ih+O8JWoCaxAUkzfn7MXEDgFSEgnRv3DQ539lIFl5XaYGob4ufUEdXbjO2+inluB9udQqc RxJFdD7bAxwpJVhON49RoOftqQhWI1HtVl1qg51+uuTln4wO1CjVoeE= X-Google-Smtp-Source: AGHT+IHFQcREHmDLcBBrPBdyKWnlImwTAkdnUr5e0tBwBxLJhT2f5jG8IRhgWZg1eiImQ4m7py6hgg== X-Received: by 2002:a05:6402:520c:b0:5f4:d5d2:dd47 with SMTP id 4fb4d7f45d1cf-5f91943a76cmr1433861a12.25.1746093787452; Thu, 01 May 2025 03:03:07 -0700 (PDT) Received: from krug (87-196-82-27.net.novis.pt. [87.196.82.27]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5f92febd4d1sm208454a12.57.2025.05.01.03.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 May 2025 03:03:06 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> To: Elijah Gabe =?utf-8?Q?P=C3=A9rez?= <eg642616@HIDDEN> Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks In-Reply-To: <87frhpphek.fsf@HIDDEN> References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> <87frhrzwt5.fsf@HIDDEN> <CALDnm51_xYfL8q4dDH4NrdT2yYXdrYZB4rD6QsKOtfiE4sxwhQ@HIDDEN> <87selppoyu.fsf@HIDDEN> <CALDnm53G8nH8Dz-jnJK57dNAx=goA0fJ6qSifncm+A4C+eLn=w@HIDDEN> <87frhpphek.fsf@HIDDEN> Date: Thu, 01 May 2025 11:03:38 +0100 Message-ID: <87bjscfy11.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78106 Cc: 78106 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Elijah Gabe P=C3=A9rez <eg642616@HIDDEN> writes: > Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > >> Good ideas. Patches welcome, the shorter the better, of course. > > Done: Your ideas are good, but did you test your patch thoroughly? I did, see comments below. > (overlay-buffer eglot--suggestion-overlay)) > - (overlay-get eglot--suggestion-overlay 'eglot--suggestion-tooltip)= )) > + (eglot--mode-line-props > + eglot-code-action-indicator > + 'help-echo > + `((mouse-1 > + eglot-code-actions-at-mouse > + ,(plist-get (aref (overlay-get eglot--suggestion-overlay 'eglo= t--actions) 0) :title))) > + "Execute code actions at point\n"))) This removes the face from the mode-line indication and uses 'help-echo. Probably should be eglot-code-action-indicator-face. Also the blurb looks like. Execute code actions at point. mouse-1: extract subexpression to variable Maybe it should be: mouse-1: execute code actions at point since your second sentence is misleading, as it will actually pop a menu, not execute the actual action right away. > (add-to-list > @@ -4130,7 +4136,7 @@ eglot-code-action-suggestion > (when (cl-plusp (length actions)) > (setq blurb > (substitute-command-keys > - (eglot--format "\\[eglot-code-actions]: %s" > + (eglot--format "\\[eglot-code-actions] or > \\[eglot-code-actions-at-mouse]: %s" This isn't right, did you test this? The second part shows the user instructions that when followed do not do what they say they do. For me it says: <f2> or M-x eglot-code-actions-at-mouse: extract subexpression to variab= le I have M-x eglot-code-actions bound to <f2> of course. In my case it should say 'mouse-2' as that is the (default) button that pops up a menu. So it should be <f2>: extract subexpression to variable, mouse-2: execute code actions at point Needless to say if I press 'M-x eglot-code-actions-at-mouse' it doesn't work, and I get an error saying there is no mouse event when invoking the command. So substitute-command-keys might not be a solution here, as you can't easily get it to be aware of the special map and not say anything if nothing is bound there. Even more problematic is the fact that it shows the changed blurb in the ElDoc area, in situations where the mouse (if there even is one!) is not hovering on the margin or fringe (if there even are fringes). So this isn't a straightforward problem to solve, which probably explains why I left this minor detail out. I also feel that if the code to do this grows too complicated, it's better to add generic utility to Emacs to solve these problems and conditionally use it in eglot.el with a 'fboundp' check. Good luck! Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.Received: (at 78106) by debbugs.gnu.org; 30 Apr 2025 19:40:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 30 15:40:31 2025 Received: from localhost ([127.0.0.1]:45453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uADIF-0000em-42 for submit <at> debbugs.gnu.org; Wed, 30 Apr 2025 15:40:31 -0400 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]:58388) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>) id 1uADIB-0000eZ-Pw for 78106 <at> debbugs.gnu.org; Wed, 30 Apr 2025 15:40:29 -0400 Received: by mail-oi1-x244.google.com with SMTP id 5614622812f47-4033201367bso207098b6e.0 for <78106 <at> debbugs.gnu.org>; Wed, 30 Apr 2025 12:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746042022; x=1746646822; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YL9yU8D9PCtICt25/BsZFPm28w+sZAGTOEZC0nef8Js=; b=hXYhh+E7s+hsIOX1dPIH8Fv7bqmrQnEdZjyHyPlAltiXzp0TIMlPT7kNmygTAx/Pq1 n+7mRK7cUaFmxitz5mV9IE/i4/BTPNTluDYe4Xwc9Up34DmXWAVsSYOCF+0w/wzwun7P 0WQQD3mW0GNm+7AQ7lHxmcZyHpeNJPUYUb5CHP93MVky8tZu+yRzcJAyQ4n5b2zFP34C jMbLgFnRi5ChGiWSY+zGAqO+uRQFSNBZCAFqs5BoyXM53Mp20MiGupecsxmnAXOr1Rw7 q6dD30AkVmZcBgkJjKVpw9+1/KzY0v0lR+tAB4b3/b76+q+ArUtgH8QrkKiRul+np7AN Av6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746042022; x=1746646822; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YL9yU8D9PCtICt25/BsZFPm28w+sZAGTOEZC0nef8Js=; b=B9LDTpPhHfIQzILtSlQMcNKdNzo1MscgvcmImxOiusbzAx1WzHRcXrQgu7A+sCoOgQ KNkMEnIprMyJcvmF8D6To7zdt9rJV/eb49bTc1LOdGs/8wEGoJ0b74/2JIEt4utRboZI houT/XitTbqN2BPCX2iDnh3OABUHB6qf4HB1A9S+BGPzshe9PaObNX3E4y4jI/2KmzlZ H+ZD8HtOM7R0ZA6ZDliym7IgHz+u9Z5f+Gg0VBdexgF1BZ6OxOS3RvCH+QPY0ICuTuCY ergrBJZwKZ88ZabgaINrW0Rj9RqwUvqlulLYGBL18wjiI23O2yoRIPIQKnXcg9uTpUWW bSUg== X-Gm-Message-State: AOJu0Yzc/3/CRBQUjmM0xaSJfhiM77SapaIpgDnkVddNWM7UK2SK2gp6 F46n7ffkFj2AcCbDaa9fbWqsvGdi4grmMJ8xwTRoThlkSJnUiXAPXT9pmdga X-Gm-Gg: ASbGncu8JzYaNxe306MthxwEIrs0HzEg/6FQ5V+hUWpxzQw3qPQAUsb03SCwpSxHmyf QsPGwrx/e4ldpbmymdzWg74vzJSedm3Dx1bfV9AS5hvoqE//E6vlO429Hyeig7562+eIwrIzFTK zCllX0sslYHB8NU4w6E17yJNqcsVop8E7UGHPvV6/iV6uJ0CI9TCyGDbbVkjwtg7p3yRfw8Dm3W v436hxjDZ4LY1e1K6tC/09ee+5pitDmQeR1tlsel6WerPnxPVlOSF6RKS4HYvRLGnhM/Ih4AZyW gi8Ousa1 X-Google-Smtp-Source: AGHT+IEOb9WQMKR9mZEdvSmuzAEA2t+A7p4e96plhJQZRPM7RAudNPmKsB12NfToP8cWecJoXAmIUw== X-Received: by 2002:a05:6808:4444:b0:401:e838:2bb8 with SMTP id 5614622812f47-40239e779d6mr3049578b6e.19.1746042021700; Wed, 30 Apr 2025 12:40:21 -0700 (PDT) Received: from fedora ([2806:10ae:e:8863::1]) by smtp.gmail.com with ESMTPSA id 5614622812f47-40212a59800sm958181b6e.39.2025.04.30.12.40.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Apr 2025 12:40:20 -0700 (PDT) From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN> To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks In-Reply-To: <CALDnm53G8nH8Dz-jnJK57dNAx=goA0fJ6qSifncm+A4C+eLn=w@HIDDEN> References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> <87frhrzwt5.fsf@HIDDEN> <CALDnm51_xYfL8q4dDH4NrdT2yYXdrYZB4rD6QsKOtfiE4sxwhQ@HIDDEN> <87selppoyu.fsf@HIDDEN> <CALDnm53G8nH8Dz-jnJK57dNAx=goA0fJ6qSifncm+A4C+eLn=w@HIDDEN> Date: Wed, 30 Apr 2025 13:40:19 -0600 Message-ID: <87frhpphek.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 78106 Cc: 78106 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > Good ideas. Patches welcome, the shorter the better, of course. Done: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-keybinding-to-eglot-code-actions-help-echo.patch From f295ce56b91ba0bde4e711a740bdf0db11ed5cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?El=C3=ADas=20Gabriel=20P=C3=A9rez?= <eg642616@HIDDEN> Date: Wed, 30 Apr 2025 13:21:29 -0600 Subject: [PATCH] Add keybinding to eglot code actions help-echo. * lisp/progmodes/eglot.el (eglot-mode-line-action-suggestion): Allow mouse-clicks in mode line for code actions. (eglot-code-action-suggestion): Add `eglot-code-actions-at-mouse' keybinding to help-echo. --- lisp/progmodes/eglot.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 530fd4aa5b8..ea01859425a 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2531,7 +2531,13 @@ eglot-mode-line-action-suggestion '(:eval (when (and (memq 'mode-line eglot-code-action-indications) (overlay-buffer eglot--suggestion-overlay)) - (overlay-get eglot--suggestion-overlay 'eglot--suggestion-tooltip))) + (eglot--mode-line-props + eglot-code-action-indicator + 'help-echo + `((mouse-1 + eglot-code-actions-at-mouse + ,(plist-get (aref (overlay-get eglot--suggestion-overlay 'eglot--actions) 0) :title))) + "Execute code actions at point\n"))) "Eglot mode line construct for at-point code actions.") (add-to-list @@ -4130,7 +4136,7 @@ eglot-code-action-suggestion (when (cl-plusp (length actions)) (setq blurb (substitute-command-keys - (eglot--format "\\[eglot-code-actions]: %s" + (eglot--format "\\[eglot-code-actions] or \\[eglot-code-actions-at-mouse]: %s" (plist-get (aref actions 0) :title)))) (if (>= (length actions) 2) (setq blurb (concat blurb (format " (and %s more actions)" -- 2.49.0 --=-=-= Content-Type: text/plain -- - E.G via GNU Emacs and Org. --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.Received: (at 78106) by debbugs.gnu.org; 30 Apr 2025 18:58:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 30 14:58:33 2025 Received: from localhost ([127.0.0.1]:56942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uACdc-00039v-Qz for submit <at> debbugs.gnu.org; Wed, 30 Apr 2025 14:58:33 -0400 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]:61445) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1uACda-00039J-HX for 78106 <at> debbugs.gnu.org; Wed, 30 Apr 2025 14:58:31 -0400 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3f6dccdcadaso179422b6e.2 for <78106 <at> debbugs.gnu.org>; Wed, 30 Apr 2025 11:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746039504; x=1746644304; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hTnsYbWiJZimks9JwFXFSo3hv/8qXOViHbeJHlNhV44=; b=XcTanoH2Y9Mq3J0hKUa1DYYcydqRBLMiSdLXVFuPS2ddeXqbVGSNoptscSQqXv86s9 aE2OA9zS7C2OeZqcdXY/gETnMLKrU1piyqhynDWVifV6weM49w/2l4hoUQcVkPGielOI k+EDcfaJXacFi4bmNbhXE8b264urKn01IB7UACSXGLotb6BZL33eoZPhPAvVITdvHRfL UxG9UzPNry79lla/+UCp0F7PwpEsqTsdd1A7bHks4BhVCUZgX5Odj0gy7cDlQa9TAB6X 3VTMhSL9CQpRmv/PP8FL6WPl6wB4lhxI3bd+6W6bchHyU6mVJ7HK/CAYE2vNfU+K4xjF XUkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746039504; x=1746644304; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hTnsYbWiJZimks9JwFXFSo3hv/8qXOViHbeJHlNhV44=; b=krq21oWn74SnELPqtDHmq9JKxJ24mAjAwfiUCvJ2suQAlhSBATKBFaoh7F0npHnzEd hhbWDvaIX+l6D7U9b6SFOaXGymY56lVhGo5SGkG6284x8IX3YSycXMAOC5ZErCfwSGcJ coGIpRUvP2i/F40a2XlHTY0lLPAYVbwn2ATdoRtYpwJNaPCbSIoCMoDJvqXj2xW8VTnO 7fAWLKhP0i8xgpXLhsbNkIuvit5/dptf2xbzzCZepzVJHf3rE8iBvJU7zs8VSwS2CDss NdGE/gojosd3q6OjXiLOAiB7TQbHRpRHIjrU7meudi8veNw7oOOM3FOVwj3+ezE/zqZo rvIA== X-Gm-Message-State: AOJu0Yz/YYbkHgBWVNkLqr7AOVTK4/tYpPxG7qk1yM31ZtRKpk21bbZE 8GIrBhbFr0e0psECV/qb9Hj5LqIyFcTeg0IAA4w+5eNMfc17jQH2wqlirW3m3+eXgicJ6u6Z6Sp 58OmzWSxozYfQbY/I9vI9RZaGCoaLHg== X-Gm-Gg: ASbGnct84FTPmITbiKP1Ly0Y0l8tyh04L/k3K4Kl59ahZhsu3wiyGgVBy2K32136Miz NaNtH3fL2LZaAcXLzyhhpagCKlc9NdGc/trwzNeP4GiyLI0mcevQJFL2qzmw3tfEd2gvRb4eaE8 dTiJQln6FZ4cvSDr756ngp X-Google-Smtp-Source: AGHT+IEFM1a8NqdNnh+5/yxHM7ti4gW7Zp334wJ5GqzFgbRCg70ZcBRC2BkvTgo5PAqMmNUyD1BqJCKDcKnajtWUpCM= X-Received: by 2002:a05:6870:8983:b0:2d5:ba2d:80ed with SMTP id 586e51a60fabf-2da6a34229dmr2034964fac.25.1746032659884; Wed, 30 Apr 2025 10:04:19 -0700 (PDT) MIME-Version: 1.0 References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> <87frhrzwt5.fsf@HIDDEN> <CALDnm51_xYfL8q4dDH4NrdT2yYXdrYZB4rD6QsKOtfiE4sxwhQ@HIDDEN> <87selppoyu.fsf@HIDDEN> In-Reply-To: <87selppoyu.fsf@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 30 Apr 2025 18:04:08 +0100 X-Gm-Features: ATxdqUHEKCeUkZFpe238si825Q428qLOXhLkGrCiny215T6FPBn93Dl3eFkbiqY Message-ID: <CALDnm53G8nH8Dz-jnJK57dNAx=goA0fJ6qSifncm+A4C+eLn=w@HIDDEN> Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks To: =?UTF-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000756de4063401e8ff" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78106 Cc: 78106 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000756de4063401e8ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Good ideas. Patches welcome, the shorter the better, of course. Jo=C3=A3o On Wed, Apr 30, 2025, 17:56 Elijah Gabe P=C3=A9rez <eg642616@HIDDEN> wro= te: > Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > > > Try clicking with the middle mouse button. It's the same button you use > when clicking a diagnostic that > > has an action. > > But it doesn't work for the mode-line if i set > `eglot-code-action-indications' to '(mode-line), mouse-1/2/3 does > nothing there. > > Also should not the indicators `help-echo' say something like: > "or mouse-2 for execute code actions at point" too? > > -- > - E.G via GNU Emacs and Org. > --000000000000756de4063401e8ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>Good ideas. Patches welcome, the shorter the better,= of course.</div><div><br></div><div data-smartmail=3D"gmail_signature">Jo= =C3=A3o</div></div><br><div class=3D"gmail_quote gmail_quote_container"><di= v dir=3D"ltr" class=3D"gmail_attr">On Wed, Apr 30, 2025, 17:56 Elijah Gabe = P=C3=A9rez <<a href=3D"mailto:eg642616@HIDDEN">eg642616@HIDDEN</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Jo= =C3=A3o T=C3=A1vora <<a href=3D"mailto:joaotavora@HIDDEN" target=3D"_= blank" rel=3D"noreferrer">joaotavora@HIDDEN</a>> writes:<br> <br> > Try clicking with the middle mouse button. It's the same button yo= u use when clicking a diagnostic that<br> > has an action.=C2=A0 <br> <br> But it doesn't work for the mode-line if i set<br> `eglot-code-action-indications' to '(mode-line), mouse-1/2/3 does<b= r> nothing there.<br> <br> Also should not the indicators `help-echo' say something like:<br> "or mouse-2 for execute code actions at point" too?<br> <br> -- <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -= E.G via GNU Emacs and Org.<br> </blockquote></div> --000000000000756de4063401e8ff--
bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.Received: (at 78106) by debbugs.gnu.org; 30 Apr 2025 18:08:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 30 14:08:44 2025 Received: from localhost ([127.0.0.1]:36141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uABrQ-00015y-Fp for submit <at> debbugs.gnu.org; Wed, 30 Apr 2025 14:08:44 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:54409) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>) id 1uABrO-00015k-Ne for 78106 <at> debbugs.gnu.org; Wed, 30 Apr 2025 14:08:43 -0400 Received: by mail-pf1-x442.google.com with SMTP id d2e1a72fcca58-7403f3ece96so324797b3a.0 for <78106 <at> debbugs.gnu.org>; Wed, 30 Apr 2025 11:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746036516; x=1746641316; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4BFEsVhOXBTLH0tGPzPog8rypRxxQFyWLO6VgjfrCoA=; b=Gva3qxzcQouaXzhPakHMJSQbyoR/0Tcrp94p1Wb6+ItN3UZPM8id1BcjszW1v/xpMR /AeqzetkK1FEk1STOp7+9UhOkp16ZNgdb8jqHiX0zZKk5ZcPgA2BrjLElekNZNc1Svgk E+G9AT0FbHK65+CUbF9ud+77Jed2Kojqi4pw5PjXu3Tvq4P63AedEuJhQKTTo1LznXWz ROjalsJhL1iQvZX4tihQBJGmQZPqgB/rkl8AGOBiZ+54XzSW1t6d9oU2iv+iIM2fVluF MDGeETB4BL5X4WMWEQDgDJJLudc2b3P4tYiMsbzedv7cw6/2eVP6WGL3UyfFUagjlKhj VpnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746036516; x=1746641316; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4BFEsVhOXBTLH0tGPzPog8rypRxxQFyWLO6VgjfrCoA=; b=aUqlbFevJ3eQIdHgh5+2LZR0JCPwBiBDXuk3EfYVIuzDjwE5+YUJx//WqbcvR5pVWc GL4tjYLQ0bH1FnZ9UjeVVdYWhaMuLbpH8fe1UiaMvtu0kR1D+F534Ck38Ux4Hd+QdclT 1KS1/KCeBZU+DctgUzglEJv7xEnh9ezoAYctcHEzY2xhbfJXH8ZijICPpYETzuZOzNEh HU+gnLfr60s2S9f+0RIFivk4VGnzWN9YuZnM94tE+frjOHAqMwR8UGqAHO4kbNHCJU9L qp3VrOAIQVqrTyX0Pfh/54j00ULKKfzAtaSwedZOdwPGJtvUj2wGhZet+9/ddrGsArH+ 7mgQ== X-Gm-Message-State: AOJu0YxMhNmz/j+d9hnqXjdEjuczsMLHRkfdlPtUwiXCP6ajE8OrO5vN tooR1tZA27o5qa39i8t8/IGD9UP/EyYDKet33YfH6xWjmPj7SxJLy91Yto+b X-Gm-Gg: ASbGnct7tkSDnyFZGJeEH59x5arwQDwx/o9DZFGLrctjTbQet+EOuMkfLWihw4RciqK 2bADxT+S5mlXTYVZOk4+NDZWQnMc7iDRTIN68yZbcvuQT9D5i8BruK2fT+py0CZkqxLHuQllchQ b6t8lS+xCwpEFQIjdBKrpIMlwCSUby+n7OwbNK2slsXT7A0jM38lrUj0qyMIj1Nqp3zPaV//Aic kxjfuY4JAWssLPhlaA+igsaBxZjzSF2IGf5K8SHaUdpbQJZuXypxlWlrjLVuYxcIY7UwmC59CXi tRRPDlLkZzUGnPxs/o0= X-Google-Smtp-Source: AGHT+IGsIvFIuYANHDKhh3ECCJiMOXp2bJGIjZUdD/nxgSBjoMQyZPGO2+WP9FALPs4yoBk9BYmlTQ== X-Received: by 2002:a05:6808:3988:b0:400:fa6a:d9f6 with SMTP id 5614622812f47-402d1971945mr2114141b6e.25.1746032218949; Wed, 30 Apr 2025 09:56:58 -0700 (PDT) Received: from fedora ([2806:10ae:e:8863::1]) by smtp.gmail.com with ESMTPSA id 5614622812f47-40212a59abbsm902590b6e.34.2025.04.30.09.56.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Apr 2025 09:56:58 -0700 (PDT) From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN> To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks In-Reply-To: <CALDnm51_xYfL8q4dDH4NrdT2yYXdrYZB4rD6QsKOtfiE4sxwhQ@HIDDEN> References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> <87frhrzwt5.fsf@HIDDEN> <CALDnm51_xYfL8q4dDH4NrdT2yYXdrYZB4rD6QsKOtfiE4sxwhQ@HIDDEN> Date: Wed, 30 Apr 2025 10:56:57 -0600 Message-ID: <87selppoyu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 78106 Cc: 78106 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > Try clicking with the middle mouse button. It's the same button you use w= hen clicking a diagnostic that > has an action.=20=20 But it doesn't work for the mode-line if i set `eglot-code-action-indications' to '(mode-line), mouse-1/2/3 does nothing there. Also should not the indicators `help-echo' say something like: "or mouse-2 for execute code actions at point" too? --=20 - E.G via GNU Emacs and Org.
bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.Received: (at 78106) by debbugs.gnu.org; 30 Apr 2025 14:07:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 30 10:07:13 2025 Received: from localhost ([127.0.0.1]:43455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uA85h-00065J-DC for submit <at> debbugs.gnu.org; Wed, 30 Apr 2025 10:07:13 -0400 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]:61740) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1uA85e-00064z-1K for 78106 <at> debbugs.gnu.org; Wed, 30 Apr 2025 10:07:10 -0400 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-2c769da02b0so6170721fac.3 for <78106 <at> debbugs.gnu.org>; Wed, 30 Apr 2025 07:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746022023; x=1746626823; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+ac8cmGIYZ5fWQhcBOKXK8Iql1gGCpNVVl7GsPBUOZc=; b=CcRy0gm4PsC/ZpG+DJisIfDR1y0bFBclSk9hL/MOgX3WC5dvplXf+xFlttqlTlcX2f 4T5+waBoOwpns8ASfwA8Twql0FcdKg7SZ2l7SYpOKSR7M62BPqo7FmH7wDiA1Rv/hl2o PBP37j7RCtVAmDO4zDp3qSojFCrz9tqZmDINdfMntpjYtZVpHKcLVHeL2eUDTaqrPLyu H+S5fmJutJHa3ND+s4oWOvbfqloR65EM23BFcewBNDegClLzYLjuomB8q+h5eT5cT2+W 5Q5Wam+Ly3Zfe6cGrDDWCXCaaz4mXiVjYBp71lujDW8f/nfYhBWdiFVafGZ/HUWhMFgt tQsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746022023; x=1746626823; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+ac8cmGIYZ5fWQhcBOKXK8Iql1gGCpNVVl7GsPBUOZc=; b=LZEf6/+btbL6AotMdeO/U8n1SuIdEkFlfT2VEWMMckzBNVutUQ2wHnprDecO5nYBjl l3zs8qzzNOKRO4jxaWk6iYYBB6lTrRdn/+N9n7QZMmerzhfV5vpLz3SLY0jsMy/cd8/h FzZmKEuPAB/bFOTA9NH+kLvP4ll2oM1gQApFP3aEXS2lIqzBTV6d3jh2WQw9WiP0OTpZ 2NDDdC9i7gC9I3ukd5e4hCrLN0jBHn/PTI2x7i7ZVqlqivkpDuIdJy5BLzHIOuIJCRyO yOour/hgxye3UWjTawI2ye+a6Pw/tSlWQDEhxnFRDPK60A+jy3JTOcUAuwxZZtgcz42A tQDA== X-Gm-Message-State: AOJu0YwbiHmRgY+80Bw33945rGZD34Snun+VdoS6/WWFdVBP/YYIn5YP wcKJsiYFGaEhwKzxvLxu3MsXEarft4E3njiwJhggv1i/Jpit5CrtTkiNBWQ0lcDMs81v1hT2z4L 94cN0JmuPkhWz7wjmU2lwLUZKVkY= X-Gm-Gg: ASbGncvn08Fo3UCq+qJNCKDYFjIHvYyMwMvCn7blaxRprlMxN/wyFsa0VyemePQKF9r bAbZZvncOv4Bd9y5byV2TDVXiuAJzW7W2ncj2wMYT3Tbqp1cqLxgEDm7QQPsTuYN0CRXaf5idpZ HqfVV6eGyFtmOpSZimmW2fuQ== X-Google-Smtp-Source: AGHT+IGcfag/Qq0evCFfXP2En6ykNfPXLaV0jvILYgUt1kDu6qH+o0jBbiAs98J0UZxEJrHhYEi/xMRUe6FwP9mrtB4= X-Received: by 2002:a05:6870:888b:b0:2bc:69d8:a39e with SMTP id 586e51a60fabf-2da6a3ace81mr1749874fac.33.1746022023298; Wed, 30 Apr 2025 07:07:03 -0700 (PDT) MIME-Version: 1.0 References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> <87frhrzwt5.fsf@HIDDEN> In-Reply-To: <87frhrzwt5.fsf@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 30 Apr 2025 15:06:52 +0100 X-Gm-Features: ATxdqUEoOPhIWFd46ij18LhMVRWOw6zTkRtVSvJFhLiLc8mWlUnLTNlw8WVQxp0 Message-ID: <CALDnm51_xYfL8q4dDH4NrdT2yYXdrYZB4rD6QsKOtfiE4sxwhQ@HIDDEN> Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks To: =?UTF-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000078031f0633ff6eb0" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78106 Cc: 78106 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000078031f0633ff6eb0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Try clicking with the middle mouse button. It's the same button you use when clicking a diagnostic that has an action. Jo=C3=A3o T=C3=A1vora On Tue, Apr 29, 2025, 00:32 Elijah Gabe P=C3=A9rez <eg642616@HIDDEN> wro= te: > Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> 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) an= d > 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 =F0=9F=92=A1 icon where it appears (margin/mode-line/bef= ore point). > > It doesn't nothing, something curious is that with mode-line/nearby > options the lightbulb icon have a `mouse-face' property, which gives t= he > impression that you can click it. > > -- > - E.G via GNU Emacs and Org. > --00000000000078031f0633ff6eb0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div>Try clicking with the middle mouse button. It's = the same button you use when clicking a diagnostic that has an action.=C2= =A0=C2=A0</div><div><br></div><div data-smartmail=3D"gmail_signature">Jo=C3= =A3o T=C3=A1vora</div></div><br><div class=3D"gmail_quote gmail_quote_conta= iner"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Apr 29, 2025, 00:32 Eli= jah Gabe P=C3=A9rez <<a href=3D"mailto:eg642616@HIDDEN">eg642616@gmai= l.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"ma= rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:= 1ex">Jo=C3=A3o T=C3=A1vora <<a href=3D"mailto:joaotavora@HIDDEN" targ= et=3D"_blank" rel=3D"noreferrer">joaotavora@HIDDEN</a>> writes:<br> <br> > They should be mouse clickable, though the margin and fringe are conte= sted for multiple functions (like<br> > opening the Flymake diagnostics buffer when theres a diagnostic on the= line).<br> ><br> > So please provide an Emacs -Q recipe for reproducing your problem exac= tly. <br> <br> 1. Run emacs -Q<br> 2. eval:<br> =C2=A0 =C2=A0 (set-window-margins (get-buffer-window) 3)<br> =C2=A0 =C2=A0 (setopt eglot-code-action-indications<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '(eldoc-hint margin nearby mo= de-line))<br> 3. Open a file which supports eglot (example: any Emacs C source file) and<= br> =C2=A0 =C2=A0enable eglot.<br> 4. Move cursor/point to where there is any code action available.<br> =C2=A0 =C2=A0(for example in any Emacs C source file, move to any DEFUN or = macro)<br> 5. And click the =F0=9F=92=A1 icon where it appears (margin/mode-line/befor= e point).<br> <br> =C2=A0 =C2=A0It doesn't nothing, something curious is that with mode-li= ne/nearby<br> =C2=A0 =C2=A0options the lightbulb icon have a `mouse-face' property, w= hich gives the<br> =C2=A0 =C2=A0impression that you can click it.<br> <br> -- <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -= E.G via GNU Emacs and Org.<br> </blockquote></div> --00000000000078031f0633ff6eb0--
bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.Received: (at 78106) by debbugs.gnu.org; 28 Apr 2025 23:33:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 28 19:33:09 2025 Received: from localhost ([127.0.0.1]:39231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9XyG-0006gR-Rr for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 19:33:09 -0400 Received: from mail-oi1-x244.google.com ([2607:f8b0:4864:20::244]:47175) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <eg642616@HIDDEN>) id 1u9XyA-0006eS-M8 for 78106 <at> debbugs.gnu.org; Mon, 28 Apr 2025 19:33:05 -0400 Received: by mail-oi1-x244.google.com with SMTP id 5614622812f47-3fb3f4bf97aso1646504b6e.2 for <78106 <at> debbugs.gnu.org>; Mon, 28 Apr 2025 16:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745883176; x=1746487976; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U4VI7VPZUXjXNN6alrBJajsSAA4urQ5w0O7D1dbRl9U=; b=HKLGZ/IG2GgTfPHV2cWVpmdtBewEgp/jcwDNG+DVkcpUOeraQi0j3ddXdJmU3Gtb6a WaCyHzuKG8t+F5B3xmATiuZwizYrnmxjRwt1g/sZXVu34yM9uy6XNzjfiHtWTSuAa5X9 ZGrCvJA1ax585i34N/dElmtpdf1W2ip9konXhEbMdcxEw2o7kzQqNCFYvISaJzn9l5M0 ciE8Rr+uO1luwqbNA9pLQwvR1fjGFAIQy2h3Ut9u+nKu6WBUG9zdQzI3fRPQO6YtWbY+ Wezv5heDxm8yZByKTjDxytwo0U4nu+bShGwAa6NXXWJ7lDjE9OJeLet3KToybeswtlV+ XSHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745883176; x=1746487976; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=U4VI7VPZUXjXNN6alrBJajsSAA4urQ5w0O7D1dbRl9U=; b=EJqLThhFkHAwrNcga1y9MGarv860yzosLMYHUsFkpt0JgVlJ5Yqs2Jr2Mb9dUTK6YF YtwcfGJYk89JTdpBDjhXQcVtCB9z929yALSjtMIVTkAlJqxic2Rs28OvLts6+w/Fltxf ftHrXJ84z57SDdUleviF6gx+PEMSZRVSgDOXHc/IsND9EDAru49aptYnpyflVLvTmxXQ JBFMxPejuYzcs0b8s2t4PO8R3P2NIi7nsCV5DM9SGwM0CR1xkqQVbzQzqGqS1QWH/udz TzmZBlkV9ptWG7wWDUsdf8+nKJYqcIHp6T9UDdU5C09fkkPq0IcyTv0dNH3At82+MEBL IjyQ== X-Gm-Message-State: AOJu0YxOX/DUHDGUpF05l0/MyMmKHi3zY6j61p94LuT9nLkHETPxQ1wh dUzLKosJzx0JBMJo0cIXXprBl+GKn3wklzSu+vk1mn2rwX43IVD0EnKAll9U X-Gm-Gg: ASbGncspPgD5WMwae4bjEKE3a0uOEE5DI+fFmKTPqOMfeZiM/f/+mA20aV1kviMGx98 4e14xIM/znqsZTgQCK8SXzH3OuyKxH74Ki2w8JifUR4f9rVBrf2TOrDN30LWoHMlvX4lPfr+ZGw Z2rsWC3BKv84l5jhAOnTtD9+xm2NhiI6SQ1QUOLOjrNk3K1MrGVJbfEIyHwKwkNFqzaQlNTOTtq WNamiFlhMSSJ2dI83XdX3OWFryB9FYJmO27y5AU9UnVJljRdEoAqMAtf/R/7Rx9o3UKAzcUyEMr L03FWUvIPa3t3FB33pA= X-Google-Smtp-Source: AGHT+IF/PAfYn7yL/VrgkkdbDwfGLLLfVtsjSOBlkNUCoz3oYfVQ6qBdGqlQ4QjJ+Erv2r/2PLLd+w== X-Received: by 2002:a05:6808:3a14:b0:3f6:6a86:d0ce with SMTP id 5614622812f47-4021154c0f3mr542188b6e.2.1745883176185; Mon, 28 Apr 2025 16:32:56 -0700 (PDT) Received: from fedora ([2806:10ae:e:8863::1]) by smtp.gmail.com with ESMTPSA id 5614622812f47-402124f84e6sm41783b6e.0.2025.04.28.16.32.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Apr 2025 16:32:55 -0700 (PDT) From: =?utf-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN> To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#78106: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks In-Reply-To: <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> Date: Mon, 28 Apr 2025 17:32:54 -0600 Message-ID: <87frhrzwt5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 78106 Cc: 78106 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > They should be mouse clickable, though the margin and fringe are conteste= d for multiple functions (like > opening the Flymake diagnostics buffer when theres a diagnostic on the li= ne). > > So please provide an Emacs -Q recipe for reproducing your problem exactly= .=20 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 =F0=9F=92=A1 icon where it appears (margin/mode-line/befor= e 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. --=20 - E.G via GNU Emacs and Org.
bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 28 Apr 2025 07:21:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 28 03:21:23 2025 Received: from localhost ([127.0.0.1]:52114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u9Inq-0007xk-T2 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 03:21:23 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53794) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1u9Ink-0007wD-Dr for submit <at> debbugs.gnu.org; Mon, 28 Apr 2025 03:21:16 -0400 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 <joaotavora@HIDDEN>) id 1u9Ine-0002hG-RT for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 03:21:10 -0400 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <joaotavora@HIDDEN>) id 1u9Inc-0007QB-3E for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2025 03:21:10 -0400 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-72c172f1de1so2800942a34.3 for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2025 00:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1745824866; x=1746429666; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6VKrebhmS8zHChlIpO0QyM2v+9JEqU42F3hyeNCL3xM=; b=EVV7eEdq+1zB1PhVMS66kfstjsboH0iQYQ+fZUpOYX06Zq8VAuZPVTEkh88f8cg7bX doa1sV0eOiz7KhL/atbw7bD+XbzeIiRwAE3RKZETwW+6QtvwZYNJb00Iy4NX+cD670V8 LLrc3FjM+bbqY3Vzu6X3nJ0DTkzaNby2tJvgDvyr9UA13pkPznD3dStiVTjYWLwmj9Wz JZvr4jtUastEafOGJzifXRGav+zXE67JCUkQDgT6iMs3m61sqlYAEJF567AsIILbJlOL 1YJ/1mQkRIJXa+pN3DYdz2yGJaTDTSdwnsaOtMOYTHAf+OS5Nnyj0n30xKtjqr+snJDE a5Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745824866; x=1746429666; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6VKrebhmS8zHChlIpO0QyM2v+9JEqU42F3hyeNCL3xM=; b=lU+SpEmAHEgyjdaa3wP7Fa6Q1u4i9sWNfTCj9vAC8MnUfsIl1u0ghcBQCOLT2NNi2R 9kdWaAkusU+LrLL4TcfG3HloAOUJx1t7SAhI88GfhM7jnxBBp63x4xsvLl1t98qEiG4R Xc8m+bp98IHrQAYA+qHqRQeIdYpHfPhXktcXnh5zs1CZWa1roqBMq03rszRRR4wpX9/T ZqqeYw5JdIlogVportbzMH7WjWygXR4KNG6phaRh3Ifcgjn2+L6aHrBTdPFOoQFQ5qzx eyyKITXLdb1EDyCocDcOItM6i5zXTOxdj7QaORVxWZO3J9x+Jotdicv/8fGOxwavLLAF mGVg== X-Gm-Message-State: AOJu0Yy2nml+gZH/pfABQz+3MKYNl907TDDWtfNjxgAHlGviaKgnBPkc SQ+xI0tKRyE0GLXKjUC3QB2aHFb5657C9LaRrmOVoPz3TNzh+P9lqs25P2DvpfzMVjMlvWALjle QxswBknA8jsOo5g7QcIb/PQESub0= X-Gm-Gg: ASbGncu/C2GnBRzFJX2Tb1Pu1lizm3QEXjCy0J7PFOpxzuSsVMLAFo43mhN65/IMAvC iCZczqxi4OEtEb31+R3rU+KPwI7HYhgMZvcESoR/87wzAJ/MNZ3IMa5tryB7UagTD3VA1QB7K80 +ONjkqt3plXkhSX9/aHgqJTg== X-Google-Smtp-Source: AGHT+IF+YT0yTIZPTpANDbDU7PtKGs3SE3dMCZ4x/XU9dt0nVcaRH5ykIWFN8jsiDipibKjokEBY7LjODC8JoURg1Ac= X-Received: by 2002:a05:6870:70aa:b0:2c8:340d:1076 with SMTP id 586e51a60fabf-2d99de66b68mr6013469fac.32.1745824866134; Mon, 28 Apr 2025 00:21:06 -0700 (PDT) MIME-Version: 1.0 References: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> In-Reply-To: <CACnP4N+OAd6yiDZ-StB-XU8W_av8vTtTfTMHNAq1TECZXHGKmw@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Mon, 28 Apr 2025 08:20:55 +0100 X-Gm-Features: ATxdqUGMFZY9ogxxilipFOBWapoiSBHqyCBVGdqU5RgtEthXaW8JtZlN0onjJOc Message-ID: <CALDnm53EcDt0xuAiSwAQ2zFzEQrOxotGTHg4-xhXthCiCbkEsg@HIDDEN> Subject: Re: [Feature Request] EGLOT: Optionally make code action indications use mouse clicks To: =?UTF-8?Q?Elijah_Gabe_P=C3=A9rez?= <eg642616@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000fc70ac0633d186d1" Received-SPF: pass client-ip=2607:f8b0:4864:20::334; envelope-from=joaotavora@HIDDEN; helo=mail-ot1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: "simon254--- via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000fc70ac0633d186d1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. Jo=C3=A3o On Mon, Apr 28, 2025, 05:21 Elijah Gabe P=C3=A9rez <eg642616@HIDDEN> wro= te: > In the current branch (master), i've noticed the > addition of `eglot-code-action-indications`. > However, the indications cannot be clicked, > for example: If i click any indicator (margins, > modeline, and others) it should execute > `eglot-code-actions'. > > Maybe there should be an option in > =CB=8Beglot-code-action-indications` for enable mouse clicks? > > Thanks. > -- > - E.G via GNU Emacs Android port. > > --000000000000fc70ac0633d186d1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div dir=3D"auto"><div>They should be mouse clickable, th= ough the margin and fringe are contested for multiple functions (like openi= ng the Flymake diagnostics buffer when theres a diagnostic on the line).</d= iv><div dir=3D"auto"><br></div><div dir=3D"auto">So please provide an Emacs= -Q recipe for reproducing your problem exactly.=C2=A0</div><div dir=3D"aut= o"><br></div><div dir=3D"auto">Jo=C3=A3o</div></div><br><div class=3D"gmail= _quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Apr 28, 2025, 05:21 E= lijah Gabe P=C3=A9rez <<a href=3D"mailto:eg642616@HIDDEN" target=3D"_= blank" rel=3D"noreferrer">eg642616@HIDDEN</a>> wrote:<br></div><block= quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1= px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"auto">In the curren= t branch (master), i've noticed the<div dir=3D"auto">addition of `eglot= -code-action-indications`.</div><div dir=3D"auto">However, the indications = cannot be clicked,</div><div dir=3D"auto">for example: If i click any indic= ator (margins,</div><div dir=3D"auto">modeline, and others) it should execu= te</div><div dir=3D"auto">`eglot-code-actions'.</div><div dir=3D"auto">= <br></div><div dir=3D"auto">Maybe there should be an option in</div><div di= r=3D"auto">=CB=8Beglot-code-action-indications` for enable mouse clicks?</d= iv><div dir=3D"auto"><br></div><div dir=3D"auto">Thanks.</div><div dir=3D"a= uto">--=C2=A0</div><div dir=3D"auto">- E.G via GNU Emacs Android port.</div= ><div dir=3D"auto"><br></div></div></blockquote></div></div> --000000000000fc70ac0633d186d1--
João Távora <joaotavora@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#78106
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.