all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Jeremy Bryant <jb@jeremybryant.net>
Cc: 71642@debbugs.gnu.org, Troy Brown <brownts@troybrown.dev>
Subject: bug#71642: 30.0.50; eglot-execute doesn't support ExecuteCommandParams
Date: Wed, 19 Jun 2024 23:26:20 +0100	[thread overview]
Message-ID: <CALDnm53GHkXtzFxeFOU4RBXeKLtOe8CyUM8j8pQwDYMOm=jaDw@mail.gmail.com> (raw)
In-Reply-To: <87v8243a22.fsf@jeremybryant.net>

On Wed, Jun 19, 2024 at 10:19 PM Jeremy Bryant <jb@jeremybryant.net> wrote:
>
> > It appears that an ExecuteCommandParams interface should be added to
> > eglot--lsp-interface-alist and that a matcher for ExecuteCommandParams
> > should be added to the eglot--dcase in eglot-execute.
>
> Adding João as author of eglot

Thanks.

Troy, you seem to be on to something.  It would seem Command shouldn't
be there in the dcase matcher in eglot-execute at all.  Instead
ExecuteCommandParams should be there.  If so, patches welcome, as you
seem to have grasped how this code is supposed to work.

> Additionally,
> > the Command matcher should be changed to not send the "title"
> > parameter in the subsequent workspace/executeCommand request.

Looks like it shouldn't even be there right?

I may just have been thrown off  by the confusing naming (naively
thinking that executeCommand executes Commands, but it doesnt).

The reason no one has complained is probably that there aren't
many users invoking custom commands, and if there are, they could
be just using `jsonrpc-request` directly or using the deprecated
interface.

João





  reply	other threads:[~2024-06-19 22:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-19  3:24 bug#71642: 30.0.50; eglot-execute doesn't support ExecuteCommandParams Troy Brown
2024-06-19 21:19 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-19 22:26   ` João Távora [this message]
2024-06-20  3:55     ` Troy Brown
2024-06-20  9:46       ` João Távora
2024-06-21 12:14         ` Troy Brown
2024-06-21 13:51           ` João Távora
2024-06-22  8:44             ` João Távora
2024-06-22  9:48               ` Eli Zaretskii
2024-06-23 14:27                 ` Troy Brown
2024-06-23 14:35                   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALDnm53GHkXtzFxeFOU4RBXeKLtOe8CyUM8j8pQwDYMOm=jaDw@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=71642@debbugs.gnu.org \
    --cc=brownts@troybrown.dev \
    --cc=jb@jeremybryant.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.