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 14:49:42 +0000 Message-ID: References: <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="479"; 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 15:51:01 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 1r7cwt-000ASi-Jy for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Nov 2023 15:50:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7cw1-0006dv-W4; Mon, 27 Nov 2023 09:50:06 -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 1r7cvu-0006cS-I3 for emacs-devel@gnu.org; Mon, 27 Nov 2023 09:49:59 -0500 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7cvs-0003Qw-6Q for emacs-devel@gnu.org; Mon, 27 Nov 2023 09:49:57 -0500 Original-Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-507975d34e8so5969244e87.1 for ; Mon, 27 Nov 2023 06:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701096594; x=1701701394; 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=nLqMIFDTm+bdh3YxKALuNYrRyhOCdNt31+mSw9Imffg=; b=fKcsEoEFD8RZQZsy4qg6vvb8OOX7oCR/N947LsgYpe+qUb8Am53EDCZf9zEFq1/Mxn EcJObAdRqkMWgaLOOwqt/QQYNZXODAcR5JGQMjqX8HGGtm5+RYa5b1tvnYsOm9UVHb0N 7C+v6GiAQnSUdGdBb3MDRREJRROMSRCPzZl+JzBSlCG0lPpwSvNBvWZ/s3RDRpI131Vx L9klZcsYQEoMZ5pjaY6bMUi2OpYiGp9Fb9PUGZ+7LuSa2mUC14iCcLhn6zMSl53Z3BiK /hZr4MWAgQu+ZYU1G2IC8jfaZswDFTcA8a31NVl9DGZ8SNBO89I7YHQrQrQvN4F6iXwK +v7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701096594; x=1701701394; 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=nLqMIFDTm+bdh3YxKALuNYrRyhOCdNt31+mSw9Imffg=; b=AHUQcB6pKrfow179zhcFzh1V327UADt88AK1bAzMU9D/X/2UHPg5We65dBCKIhBX/8 yJCfOizOotmNsbJgVWhVr4pcDkzUPr2zMn6VjGRJ/Zke39b4F2pQlIj1JC17iS8HSN1o eait+cg1Z38DtST/nKCicqB/bb1Mde6LcXienJZHEgPFR6sdE66F0C+R+S2kvR6D2goN PL0xFqxD+qNP80wEJJzSKiELETS9aNHX9bh5Wy8G2QGBwipDJjn7ObRxVE/bZmrXCCFR 2y2zaeZcwmUSGrwNwKGNusDACcDJweAs8b4aPcU5UeY6b3k4pn/+bwXmdBEguaBzBlUU Newg== X-Gm-Message-State: AOJu0Yy1zzT12x0LXj7olx/gApji/iJfrxa9aCD1goaUMqtrqn7nLZEG tXm/p5x/Npt3PdxRyAH43nmVF51gCYPJ3iEtGVA= X-Google-Smtp-Source: AGHT+IHjkRUZH+CGtCyjghMd4bC8p8681n+8uIceJjfBKotpQ6mWF4+AKfm0XHMnVMOunNZWg/QKneDm5P50DvXwVd0= X-Received: by 2002:a05:6512:3989:b0:500:9a45:62f with SMTP id j9-20020a056512398900b005009a45062fmr9677021lfu.8.1701096593806; Mon, 27 Nov 2023 06:49:53 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12d.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:313270 Archived-At: On Mon, Nov 27, 2023 at 2:43=E2=80=AFPM Dmitry Gutov wro= te: > (that's what the completing-read approach is for), and whenever we find > out that particular kinds get supported by many backends (or by most of > the available/popular ones), we could "pull them into the core", adding > a global command with one binding which would work across languages. Alright, so since this is contentious (who else but you is pushing this idea?) what about we start with 0 in xref.el. We can always add to 0, no problem, but taking away from some other number isn't so easy. > and to allow frictionless extensions for special capabilities. As to frictionless extension, the macro I proposed already xref-define-finder seems the easiest way by far.