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: Mon, 27 Nov 2023 17:09:07 +0000 Message-ID: References: <87il697r5g.fsf@catern.com> <87r0kw8nxu.fsf@catern.com> <3fe5a8cd-b355-d7eb-10ad-8846aef3387b@gutov.dev> <878r6mx1xc.fsf@betli.tmit.bme.hu> <90e4b9a7-3b51-587d-e317-b89e5d5464d9@gutov.dev> <87sf4scxax.fsf@betli.tmit.bme.hu> <9ac758b8-5fb2-9b3d-7947-96777694e3e0@gutov.dev> <2fe6c4f0-dffc-ce00-758e-0c431a803d4d@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Felician Nemeth , Spencer Baugh , emacs-devel@gnu.org, Eshel Yaron , John Yates , Ergus , Filipp Gunbin To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 27 18:12: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 1r7f9q-0001kB-J8 for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Nov 2023 18:12:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7f6s-0000Nu-Q1; Mon, 27 Nov 2023 12:09:27 -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 1r7f6p-0000Ci-EM for emacs-devel@gnu.org; Mon, 27 Nov 2023 12:09:24 -0500 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7f6n-0004jO-RD for emacs-devel@gnu.org; Mon, 27 Nov 2023 12:09:23 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50baa7cdf6dso2847261e87.0 for ; Mon, 27 Nov 2023 09:09:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701104960; x=1701709760; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FuTKLg0QRPzjWWKpo0fsRm3CfMdj9/PL2Xdf1bpDmng=; b=e0g0cs+99MYNwXTXwEl+AZcNRI20Wa4cJ0NNGwdVqqGLd+wiu1o/hUo5LCVwdctylX ZtXf8NSbF0Um1guMiaol1O9Lo0AjP3xPEojGbOTjbjEzvD/HDIoXmpElqnuq6cPM4BEk pWewvrm0QRBhZEvu50WqP8D2fyDUg/muqTIF3aqdT2MJcIhzXCU2AaANwXgCE59zYi9P 0GSqWCGMi6oNS4VTJ3CxvILodtBt+aUfK2fLo/nRei2oX4ShPBA3BGl1Ou/n1ibORdUf BnDuo8yNG2eMKp0pXHRgAZUz4cSSXEGmVqiQtKKD3pMhNJ4ZArOSqp7tAB331Qt+WZT8 TOEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701104960; x=1701709760; h=content-transfer-encoding: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=FuTKLg0QRPzjWWKpo0fsRm3CfMdj9/PL2Xdf1bpDmng=; b=m4l2HAfVsBuWbbeNNv9mQxII/1sS6Mfe9y+sdF1AkwhISmsMakItT36Q+pxVFB4pF4 i4mFgMutdpRxGe39uijAuRNwF8BMDwrGplJFkpc8qzW2fNMmCxU0qAMJsi2GOwgmjfuF 5PPqGWjaeqzpZgezXD1kNYfZc5a4Pt/YSO9fq3kiA4woN2cAGc3plf95U/7+Y0yTTA2w HwNkvXRVk0FGALrHrE5lSPFqZh3NdsldeGqLm7trmauHNbqFBOScPhK5yfpEEdgB4IhF RzSqUHyxeP8rJdhPyAqGOpnPU3rEuKnONeoILe7WzyxcmQy4wsbfjVG46becfcrrXHuB 6ZzQ== X-Gm-Message-State: AOJu0YzHrbGdyBAn1y7cNV/5yOR+w0Z84x8/ejK169h9PlotC0vsNtOz vcydtJ3AN1Ngp3kiru5vl7vhljOugx/HuGBybuk+p6Stv+g= X-Google-Smtp-Source: AGHT+IGgwgNXnL+dPDjuhNLaVawue51abnE4fSYIgbJjpFbjuuHIyV8JSVC+1xmF1NhvIPT+ujZrUpT6FbpKM41CAWI= X-Received: by 2002:a05:6512:4014:b0:509:8deb:9cf5 with SMTP id br20-20020a056512401400b005098deb9cf5mr6423294lfb.0.1701104959843; Mon, 27 Nov 2023 09:09:19 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x132.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, 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:313289 Archived-At: On Mon, Nov 27, 2023 at 5:05=E2=80=AFPM Dmitry Gutov wro= te: > > What same implementation?? They only common part is is literally just > > the string "xref-define-finder", the opening and the closing parenthesi= s. > > Then comes the backend specifics. A JSONRPC-based transport with a spe= cific > > protocol, an HTTP transport with another protocol, a ask the oracle of = Delphos > > protocol, etc. > > > > Realistically, most people will be using Eglot anyway, so the existing > > eglot-find-* commands are what they're going to see and use. > > So that's what your argument comes down to in practical sense -- keep > the commands in Eglot, and not worry much about other Xref backends. > Whether they are alternative LSP clients or not. No, of course not. And frankly it's a bit silly to try to caricaturize my position with this strawman, given how much of my text you've read. I provided ample support for other backends and I myself want to write such a non-Eglot backend for SLY Common Lisp support. Jo=C3=A3o