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, 5 Mar 2023 20:10:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e3bb9d05f62cc529" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3843"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Mar 05 21:11:13 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 1pYuhN-0000uM-NX for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Mar 2023 21:11:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYuh2-0003GQ-W6; Sun, 05 Mar 2023 15:10:53 -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 1pYugy-0003Fs-3k for emacs-devel@gnu.org; Sun, 05 Mar 2023 15:10:49 -0500 Original-Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYugv-0000Ic-UW for emacs-devel@gnu.org; Sun, 05 Mar 2023 15:10:47 -0500 Original-Received: by mail-ot1-x32d.google.com with SMTP id m25-20020a05683026d900b006941a2838caso4280046otu.7 for ; Sun, 05 Mar 2023 12:10:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678047042; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5VaF5B56Ls4QlMVA1Jsc+Jgyn0VMcRydoHLg26S5xJ4=; b=E4P8MbcJux+m/GFLeUKo0O3n/kewsj5VNP0BD6VVCriYDjGwNbtf0GS1/OGLHxSb+D I4Q6zyWmCinfdk1CKi3a4W84BaeiB0pOBKQE9LGUGIAbXEWnV4F5WU1b5L+af7eo+KGo B+fFpVSMLbCXuQpGK4147e/2knUXRHkUfAmULpsWIu809vtmqStBiD7nzs231XE0RUjF q5AVNwaQ13inkq0GItS0JD46sCuug4wwaUHVT8mQZACi3vINP3uOtbO2mPOFF7nwERAM stJu/Tj/vvQNT0IN90VF6uAqL25u1SB84Rw52gEhjOrwqDLuToHULMYRViT8gwMEcsm9 WsLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678047042; 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=5VaF5B56Ls4QlMVA1Jsc+Jgyn0VMcRydoHLg26S5xJ4=; b=CSwLqbGv6DEFkv4sWTmLr+E7oEG6Nz4cZRFnyt6NvVimbdB+ewAJaItnJsxqQhyKp8 dyqNJx/wYUqEaARMmA8O33sRHWarxAvI3wUbj0tOgqWkGTFK8vKp0eEWs8P79gC71JYZ p4bwiw/GHPs57LprFU+dD6toV6SrFk8lUuaEY3vk1CwrXsyhuvao12VXtnet8oDSFp4R tsCHK5kVye0AMus+yBph5OtdCU6Dn9Y2h/tP+eCg8ieC8QAQlcEiuohXQ89YmMDIkAGX MirS6maUKnTxJPoWpXUyjOUCTM+odsmZ+YOKCKENdsta5VoWVECDQSqc1fptzQygNo4r Yzxw== X-Gm-Message-State: AO0yUKX1CabTUmtHb0LTO0YfqzpXuNN48M/F9mopVCNf//0cEMX5J/xg RR54l3NUfTNXqzMEdJgttXJeqGF74oagnCQ4A3Q= X-Google-Smtp-Source: AK7set8RIqa+mp/YIm1o6CL7O/9cnRuvOh6UiAcFzn8aC0Aw1nJ0q5g3d3emTmh093q9s85tuEP+ReZJJ8V7XUM6pGM= X-Received: by 2002:a9d:7259:0:b0:690:f512:20a with SMTP id a25-20020a9d7259000000b00690f512020amr2620870otk.3.1678047042581; Sun, 05 Mar 2023 12:10:42 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=joaotavora@gmail.com; helo=mail-ot1-x32d.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-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:303992 Archived-At: --000000000000e3bb9d05f62cc529 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 5, 2023, 10:22 Helmut Eller wrote:. > > I think that it's a bad idea to add language specific commands to xref. > The next thing is that we have commands for jump-to-variable and > jump-to-constant and jump-to-macro ... > > It would be better to leave those commands in the language specific mode > with the C-c prefix. > I agree, but the xref backend responsible for answering the request can still be Eglot's. Jo=C3=A3o --000000000000e3bb9d05f62cc529 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Mar 5, 2023, 10:22 Helmut Eller <eller.helmut@gmail.com> wrote:.

I think that it's a bad idea to add language specific commands to xref.=
The next thing is that we have commands for jump-to-variable and
jump-to-constant and jump-to-macro ...

It would be better to leave those commands in the language specific mode with the C-c prefix.

I agree, but the xref backend responsible for answering= the request can still be Eglot's.=C2=A0

Jo=C3=A3o
--000000000000e3bb9d05f62cc529--