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, 12 Nov 2023 18:40:19 +0000 Message-ID: References: <65a16247-1b1a-149c-b413-71612f88f184@yandex.ru> <9377bf2b-13ed-8d86-4294-0b88e6808d80@yandex.ru> <953056ea-9cfb-34ad-6515-9036633dfdbb@yandex.ru> <2d964697-2b4e-64c7-2f16-aae87e57def4@yandex.ru> <70b681ab-b827-01b4-d4f3-fe0b45cd698d@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="34307"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Spencer Baugh , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 12 19:38:11 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 1r2FLW-0008lF-Rr for ged-emacs-devel@m.gmane-mx.org; Sun, 12 Nov 2023 19:38:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2FKt-0004gt-K1; Sun, 12 Nov 2023 13:37:31 -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 1r2FKr-0004gh-LB for emacs-devel@gnu.org; Sun, 12 Nov 2023 13:37:29 -0500 Original-Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2FKq-0001by-2g for emacs-devel@gnu.org; Sun, 12 Nov 2023 13:37:29 -0500 Original-Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50797cf5b69so5041741e87.2 for ; Sun, 12 Nov 2023 10:37:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699814245; x=1700419045; 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=oups11+grmvXf+dyXMQuV38WZHHPU1fU87053/8v5+A=; b=Lw/u3k2rkx7KVv0yog1ZaPHb1XuVuoXXh4ogtRzmuWLApjEOXkwwsgIVq5TN8AWRBd knZdAvvltoT78gApdUawSL4uSj17Nshi9s0m0u2TdpnJriUZUbMcatBKAeeaSVJrVn/j 27uWeuoOqZqEPHho90A5MSAOkC7k1q3Emt/dhNtEPnVZiAdgvMqZJ5lXQTvWIxea/g0s Au9LWSBto/4O8fDOEl7XI/ljA9NoaFTJL0iz6Q2v9LfPnNZ9zD72Y+MWfbYHt0lFWxaN MwxVjR+Nq0WbeaenHRjIyuu3z5FhPF/6jU98BYNG1gHGekesoMCzXcLH/pfRwE0NIO9w XfWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699814245; x=1700419045; 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=oups11+grmvXf+dyXMQuV38WZHHPU1fU87053/8v5+A=; b=LWwx+tf9rNGH0TT5HAj1F/NNEB3vD1cwS+sroleRp4mbvkZSubbPr4hAZj1mzcOVIN Xced+lrnSAgSacX4a5t/L58kuxW0y7v7FPxx5Coy3XjfuJ+qs+/2lO4bB/CbmfUVOZwd ULxUadmeDVADEIPmzg433M4EI7PyKWjKMztegWX1jpKVVPNxgto0qJqvQ69DuQGorawu zP/kCQqQOgk9lvRWfaYHKWuQ/zx4RIkBUUjzbG1nMCQ3lQUCcqhs5wd+xUfdk2tIDTDF kiW7nhwHUy+EuiZ6YwdjE60pPAWUqiLLbPPxJY0N1REDIopn7nDrz+CDljldxvcZvd3+ dd7w== X-Gm-Message-State: AOJu0YzmHFYd+oaiQO0+npD5pxJGF91xQm0L5nhuhbwEVJncXCYximON 4RpfmcXuFgNZYmHgShdSLDaXBbDasAHDbK/igG4= X-Google-Smtp-Source: AGHT+IGTQ03hMDbPqi5eihuSgMcv8EKE9OgbsWMt82YWB3biBdWCmeP2INSgItXewwfIYbxG8Ja4UPz92jNEsKHNuXA= X-Received: by 2002:a05:6512:280c:b0:509:4a02:1205 with SMTP id cf12-20020a056512280c00b005094a021205mr3446383lfb.46.1699814245268; Sun, 12 Nov 2023 10:37:25 -0800 (PST) In-Reply-To: <70b681ab-b827-01b4-d4f3-fe0b45cd698d@gutov.dev> Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x135.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:312656 Archived-At: On Sat, Nov 11, 2023 at 9:01=E2=80=AFPM Dmitry Gutov wro= te: > > On 11/11/2023 13:30, Jo=C3=A3o T=C3=A1vora wrote: > > >> BTW, do you know of any LSP servers for C/C++ have > >> implementation-specific actions/endpoints for any of the things that y= ou > >> mentioned above? > > > > Clangd, whose source code I've recently become familiar with, > > has the capability of doing all of those but my vapourware > > 'memory-allocations'. It doesn't expose endpoints to them, I think, > > but it's not fundamentally hard to do (clangd has a very rich index > > derived from the LLVM AST processing machinery, as you probably know). > > So these features that are not available in the VS Code plugin yet? I > guess we'll wait until that happens. But then it seems like Eglot will > have to define the corresponding commands. Not Eglot, no, unless they become part of LSP. See my other email. > > Anyway, will try to do that coming weeks, do ping me if I forget, > > we can even pair-program via tmate or something. > > Sounds interesting. My Emacs doesn't really function in the terminal, > but we could try. Emacs -Q would function, right? :-) Anyway mine does, fairly reliably and I have very few personal keybindings. Jo=C3=A3o