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: Sun, 26 Nov 2023 20:40:33 +0000 Message-ID: References: <953056ea-9cfb-34ad-6515-9036633dfdbb@yandex.ru> <2d964697-2b4e-64c7-2f16-aae87e57def4@yandex.ru> <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> 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="7208"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Spencer Baugh , emacs-devel@gnu.org, Eshel Yaron , John Yates , Ergus , Filipp Gunbin To: Felician Nemeth Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 26 21:41:12 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 1r7LwG-0001hG-Hb for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Nov 2023 21:41:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7Lvw-0007N9-7L; Sun, 26 Nov 2023 15:40:52 -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 1r7Lvu-0007Mv-Vn for emacs-devel@gnu.org; Sun, 26 Nov 2023 15:40:50 -0500 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7Lvt-0007TS-E7 for emacs-devel@gnu.org; Sun, 26 Nov 2023 15:40:50 -0500 Original-Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-507be298d2aso4860487e87.1 for ; Sun, 26 Nov 2023 12:40:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701031248; x=1701636048; 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=NkLTKMyzTXjlIlR6RXert75HsIb/YL8P2D46hzEXC/I=; b=XbMN9PGtjW22wyN7c51/dQH+2j91ahTDJqqcYDf04FDjbhVehfNKMH/EpmQxtIRhHi Q7k/cMwkiPsdEM0O81QBjbC31KwHdZDSglo24NiQ2NUudsJROVJThSJq5YF7IQk2ioG6 d7Ss6h+QTz5vTeYVuo26bbMyDZ+0wbL4IkBaYts9cmEQxTEt2meLGh8pIe/fVaxdfm2v 9jCPvomIotKoSKLL+jjQoEM4prmFQiOXRJAqaSI4Jp7pN3KQwhLHfHspalZ81mIgcXom E6K3/JEIQGXb341ZRsXfmyf/Er8IMJZySUHK4d5ZZkLImniyo6Zx4i/RxCJA/WUkwI43 3GkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701031248; x=1701636048; 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=NkLTKMyzTXjlIlR6RXert75HsIb/YL8P2D46hzEXC/I=; b=bT1dLYz3yWacIgCXbM2peAwOlfOmXqiQbAdSXsRvVGdK4h9HSYMBVfsEsYVYWt8yUo 33jmwLtXmgPxJX/lmuonuWh7+MlE9pSsv1nE8mvVHo5CJJlAJsS1E9rwfsKb7z6CmtyE 4aIXNdGMmvADrAktY1/S3gRY81U0IdvLoMymEtZ8zn+P0mKYo3OkPG4g5xzHDjP3n9KT FljHVj0DgHqN6/1xG2VBzy0mmHutwDrg0ugcGjkR8BdcR/6EHfRH3yzD1RXV9savKabp GiYMTqR3lspzD4mIrx4jKJmmEqPjhnIbtfMCHo0DjNALwlchnFDDA+D45Nat49sbZpDR 4dsg== X-Gm-Message-State: AOJu0Yxnf6quoV25F/4+mGxg4X122fc5SiPS6W94wERiPqsNFGqC7vvN wDeiAJgyj9ZUd9kHXghN5tN8nJvHT3pjecHgG1Q= X-Google-Smtp-Source: AGHT+IF/dZoHVw7KX/pdewAILD4BR6T9oHl0Bl1XJPJf0EDoJxfH5aAAL6rh+zH8YoNMtKw+EqhzX9GPGs8gi0kCS+k= X-Received: by 2002:a05:6512:114d:b0:509:4599:12d9 with SMTP id m13-20020a056512114d00b00509459912d9mr8765419lfg.6.1701031247477; Sun, 26 Nov 2023 12:40:47 -0800 (PST) In-Reply-To: <87sf4scxax.fsf@betli.tmit.bme.hu> Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x133.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:313252 Archived-At: On Sun, Nov 26, 2023 at 4:08=E2=80=AFPM Felician Nemeth wrote: > > Dmitry Gutov writes: > However, in the past it made sense to find the first xref backend that > knew the definition of an identifier. Now let's assume backend A > provides definitions with letter "d" and backend B provides > documentation locations also with letter "d". I think according to Dmitry these documentation locations should be crammed somewhere in either "definition", "declaration" or "typeDefinition" or "implementation". Go figure. > > 2. Whether Eglot should, in time, deprecate its corresponding three > > commands if Xref adds its own versions. > > I think one of Jo=C3=A3o's design goals of Eglot is to rely on existing E= macs > features as much as possible. I don't think these commands should exist in Xref though. They directly reflect a limited LSP-specific categorization of cross-referenceable things that should be confined to Emacs's LSP interface, which is Eglot. So I will not be deprecating these commands, unless LSP deprecates them. Jo=C3=A3o