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 23:25:32 +0000 Message-ID: References: <87il697r5g.fsf@catern.com> <87r0kw8nxu.fsf@catern.com> <3fe5a8cd-b355-d7eb-10ad-8846aef3387b@gutov.dev> <869c25b8-4c99-fb35-cd8c-b1a8a6256e04@gutov.dev> <680b567e-4a2e-d2d5-a2f4-423584a60a53@gutov.dev> <83136657-817c-6cd3-93e1-5f2af70667f8@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="6735"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Spencer Baugh , emacs-devel@gnu.org, Eshel Yaron , John Yates , Ergus , =?UTF-8?B?RmVsaWNpw6FuIE7DqW1ldGg=?= , Filipp Gunbin To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 28 00:26:43 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 1r7kzz-0001Um-3r for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Nov 2023 00:26:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7kzA-0002kt-0w; Mon, 27 Nov 2023 18:25: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 1r7kz8-0002ki-4w for emacs-devel@gnu.org; Mon, 27 Nov 2023 18:25:50 -0500 Original-Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7kz5-0000uC-EI for emacs-devel@gnu.org; Mon, 27 Nov 2023 18:25:48 -0500 Original-Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-507adc3381cso6600645e87.3 for ; Mon, 27 Nov 2023 15:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701127545; x=1701732345; 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=VAdaAnktls3f/Ty4HUDb1+i17vjgEk4iCiUm0/xZqtw=; b=kIDYODHjUZewMRf+W5J+zEw7l8dNTwzYp2ZdUlmGnX0IRuSd57eltoyPZzARSWwD+j PvjqC9HC2lrcfxOLfc7iIkk7oXX6NEKzeuXzKRc38TxT4jA4svIrc3rQniwkPhZbVSg3 gKWPVpT/c0cSzlRd9nb4bKeC343nYVYQ9sfDdYsq9E1+DZGBbcECs0ulQzWcVVob/UCr +lRyJcLllo1S+Oos4JucNQLUAaQjLjLRWKyEC8Tg5mF4G7GmdBq2EvpQBwL7gLSD6ezM oWqaCivF2iTRdplMndZqQh+wwT7JKvFXJrX2838SeCGZncO9qxGDKw0xafEA5wA7RBEK Mxtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701127545; x=1701732345; 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=VAdaAnktls3f/Ty4HUDb1+i17vjgEk4iCiUm0/xZqtw=; b=fp0166mDcohKugHsJ9CcZEqw+hx2GDwWa4e9jzNEkzesY4XhjLUdprQW70Y58MF9Zy W7PwRtGM2ZV6A9HVLY/+e3nDWDA0dSnwNWBoWS02n86KpsqBc9pmMEZhryyP8tbFEmh1 eLQ1Flktq8nALSvR6vnOfCU0p1FUDpO07YMg8MujguEnAmNY3frc+2kjNS/TY2cHfJyr ijkJv+87CbHZK2RshUOMU4Sv/qSxaMhxN6XQpB5Dw0evjKD2y7frJFYjrfY5zvFwGlrp hjRkiRtiOLThWR9/ogL24WU8cjQ0eBDggT3ILxJ24uibqqXaoscFWjh8i5y3tzneb8ZT aajA== X-Gm-Message-State: AOJu0YzyhtRJqdoxCNHEMRbFE0OAD8VSDj1ZG0NQH6WEPReKiZIGawxQ GQl5SUY5aNol0WrI8uty/ivPPtEWjS95p1/dRR4= X-Google-Smtp-Source: AGHT+IEkx/XnHYU1hjS2+mN4+LdPXg0kXriN1dYTycl5b+Z5OASKfRl1AvJfLwJyAxRrBHT8XA4YJ33PZ9GvGfxxRTU= X-Received: by 2002:a05:6512:31c6:b0:508:2022:7743 with SMTP id j6-20020a05651231c600b0050820227743mr12112250lfe.2.1701127545035; Mon, 27 Nov 2023 15:25:45 -0800 (PST) In-Reply-To: <83136657-817c-6cd3-93e1-5f2af70667f8@gutov.dev> Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x129.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:313302 Archived-At: On Mon, Nov 27, 2023 at 6:12=E2=80=AFPM Dmitry Gutov wro= te: > There are also abstract method definitions in C++ and so on. No, there aren't. You probably mean "(pure) virtual member function". And yes, I can assure you that's the jargon that professional and aspiring C++ developers prefer when communicating with colleagues and compilers, certainly not wishy-washy Javaisms. > What goes for declarations in a lot of cases will also be "definitions of some sort". But if you squint hard enough, everything's "definition". In fact, definition definition definition. Definition? Definition! > If you don't like "definitions" in "xref-show-definitions-function", > then it would need to be a term that describes "special kind of > cross-references". Probably referring to the kinds of locations those > cross-references point to (which determines the optimal UI). I'm fine with that name myself, it's specifically for xref -find-definitions, right? I just find it nonsensical to use that to justify the "definitions" in your proposed xref-find-all-definitions which potentially serves to find C declarations, C++ deduction guides, Elisp feature-providing forms, CL macroexpansion loci, etc, etc. I've given plenty of alternatives.