From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Adding support for xref jumping to headers/interfaces Date: Wed, 8 Nov 2023 17:20:45 +0000 Message-ID: References: <834jqzafse.fsf@gnu.org> <83h6uv47e8.fsf@gnu.org> <4639d7ca-2109-864c-33c0-38e65f26f262@yandex.ru> <835ybb3txt.fsf@gnu.org> <83wn3q311i.fsf@gnu.org> <412afa2d-5dbc-52da-39c4-99be3873929c@yandex.ru> <83o7p20wdi.fsf@gnu.org> <72b09256-5a1b-8962-9e3c-7d2ffd0dc0d7@yandex.ru> <83ilf925n8.fsf@gnu.org> <95afa441-18ae-e62a-be16-be73a545bbba@yandex.ru> <65a16247-1b1a-149c-b413-71612f88f184@yandex.ru> <9377bf2b-13ed-8d86-4294-0b88e6808d80@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007261850609a74fcf" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28331"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 08 18:21:30 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r0mF6-0007AL-PX for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Nov 2023 18:21:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0mEh-0000UU-QV; Wed, 08 Nov 2023 12:21:03 -0500 Original-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 ) id 1r0mEg-0000TL-5u for emacs-devel@gnu.org; Wed, 08 Nov 2023 12:21:02 -0500 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0mEe-00066D-5C for emacs-devel@gnu.org; Wed, 08 Nov 2023 12:21:01 -0500 Original-Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2c5071165d5so95013731fa.0 for ; Wed, 08 Nov 2023 09:20:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699464057; x=1700068857; 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=v95JmEjyRwGHs+dLL8cBiD/qmR9tRhF/20Zic0QCkDA=; b=beRyEWn0ea6HyVI+mYgz2baQJqC9fMkd+e0HhCaXvUEOTBWdte3I1pdYZ/yTKD9e/k 1kCXotitlX43Ar+y9netZx6+X4EAruslqscfoP8t3Q2SlOTN127rY/q85eStO5fSbjU8 lEiV+floarLV7BX2gDU32CWbd0lraQxcjqDJXX6gGPQE54dQkahFsvq0xnYzduD6zHod FiiGUz3Wpijeabd6I5HGTKLP04vYHypas9yLPHWq9Sg2lLSGPWe71diApjNDWAh68Kmj eV27zT9hm/hqqskMscPEoxyfe3Sdj1wr+D5Qpao3/Fx9S1Noy1z2NADxLTvno/lmgBOa kEvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699464057; x=1700068857; 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=v95JmEjyRwGHs+dLL8cBiD/qmR9tRhF/20Zic0QCkDA=; b=umsLVhyIu7poIdcyPHqQ9IwvAljH36tuh08FukGZi8w/eDWL9R8x80pDuK9U2THH9A AMhmHaPUB2eJ49SG+SLqtfqhy08TvSHYR16aMxnu3uV6vodHTre4sWzKo6Bs3JDLCER9 y7JtzDi3YUOxuB8PsKhUm/oEQYLLXyMA6mZLZ7UVZqvMMYnBl/mjDz9JOgcY8RmG1Y4I CreqLYedbLe4rMFQrL6DIc5Q86BKzsLHTjEOLbK4l9CMDxKLw/cfIy1TLn2RTcrFP9XU vLtPjypkK31dvBot800OTKQO2hLklFN7KCEXrPxAKW7Jw9x2gS82/lZ81a0UWFaHmmxK qmQw== X-Gm-Message-State: AOJu0YzHdcx2w3jIo2UbQB5MXQ+rw6UpuKNBtVH9wnOegcS/TxNi4qsi bA/oWCNIQ8dOkHqglmXhB5UyajxDMP3muYKNDSc= X-Google-Smtp-Source: AGHT+IEJ2Vqu6r/CZDCbLByJn4JTUTmdHbwxZNoaM4mTr16tklAbWAA2cutvpog+HOFi8n1aq+AsH+E3x3oWy+06lEI= X-Received: by 2002:a05:6512:368d:b0:507:ce2f:8f0c with SMTP id d13-20020a056512368d00b00507ce2f8f0cmr1713512lfs.35.1699464057347; Wed, 08 Nov 2023 09:20:57 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=joaotavora@gmail.com; helo=mail-lj1-x22c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312353 Archived-At: --0000000000007261850609a74fcf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 8, 2023, 16:40 Spencer Baugh wrote: > Jo=C3=A3o T=C3=A1vora writes: > > On Tue, Nov 7, 2023 at 11:18=E2=80=AFPM Dmitry Gutov = wrote: > >> What I meant is, using it with the Elisp implementation didn't > >> convince me of the usefulness of the feature. Perhaps you disagree? > >> > >> Or it would be nice to hear from someone who have tried out Eglot's > >> integration and found more upsides there. > > > > If you want that to happen, the only realistic way to have good > > feedback from anyone else other than emacs-devel nerds like me and you > > is to release an Eglot version with this feature, which we can change > > later (even non-backward-compatibly, within a reasonable time frame). > > I tried the Eglot integration, my comments elsewhere are inspired by > that. > Can you point me to this "elsewhere"? > > I found it rather clumsy out of the box. What exactly is clumsy? Please state the command you used and what the clumsy effects were. However, it works well with an > approach of adding bindings for individual kinds, as is currently how I > (and other Eglot users at Jane Street, and presumably most other Eglot > users everywhere) use Eglot. So that compatibility with an > already-common approach is an upside of this integration. > Bindings to what commands exactly? However, the alternative UI which shows all kinds of definitions in a > single buffer does not exist for Eglot in the same way it exists for > Elisp. So... I can't really compare it to that. > What "alternative UI" are you talking about exactly? How can I trigger it for Elisp? Please give a full example as I don't know what you are taking about. Thanks! Jo=C3=A3o > --0000000000007261850609a74fcf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Nov 8, 2023, 16:40 Spencer Baugh <sbaugh@janestreet.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">Jo=C3=A3o T=C3=A1vora <joaotavora@gmail.= com> writes:
> On Tue, Nov 7, 2023 at 11:18=E2=80=AFPM Dmitry Gutov <dgutov@yandex.r= u> wrote:
>> What I meant is, using it with the Elisp implementation didn't=
>> convince me of the usefulness of the feature. Perhaps you disagree= ?
>>
>> Or it would be nice to hear from someone who have tried out Eglot&= #39;s
>> integration and found more upsides there.
>
> If you want that to happen, the only realistic way to have good
> feedback from anyone else other than emacs-devel nerds like me and you=
> is to release an Eglot version with=C2=A0 this feature, which we can c= hange
> later (even non-backward-compatibly, within a reasonable time frame).<= br>
I tried the Eglot integration, my comments elsewhere are inspired by
that.

Can you point me to this "elsewhere"?

I found it rather clumsy out of the box.=C2=A0

What exactly is clumsy? Please st= ate the command you used and what the clumsy effects were.=C2=A0

However, it works well with an
approach of adding bindings for individual kinds, as is currently how I
(and other Eglot users at Jane Street, and presumably most other Eglot
users everywhere) use Eglot.=C2=A0 So that compatibility with an
already-common approach is an upside of this integration.
<= /div>

Bindings to what c= ommands exactly?

However, the alternative UI which shows all kinds of definitions in a
single buffer does not exist for Eglot in the same way it exists for
Elisp.=C2=A0 So... I can't really compare it to that.
<= /div>

What "alterna= tive UI" are you talking about exactly? How can I trigger it for Elisp= ? Please give a full example as I don't know what you are taking about.=

Thanks!
Jo=C3=A3o
--0000000000007261850609a74fcf--