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: Wed, 8 Nov 2023 01:19:21 +0000 Message-ID: References: <861qm4tkih.fsf@stephe-leake.org> <71ea5e83-183f-2ae3-8146-6a31045a0309@yandex.ru> <834jqzafse.fsf@gnu.org> <83h6uv47e8.fsf@gnu.org> <4639d7ca-2109-864c-33c0-38e65f26f262@yandex.ru> <835ybb3txt.fsf@gnu.org> <83wn3q311i.fsf@gnu.org> <412afa2d-5dbc-52da-39c4-99be3873929c@yandex.ru> <83o7p20wdi.fsf@gnu.org> <72b09256-5a1b-8962-9e3c-7d2ffd0dc0d7@yandex.ru> <83ilf925n8.fsf@gnu.org> <95afa441-18ae-e62a-be16-be73a545bbba@yandex.ru> <65a16247-1b1a-149c-b413-71612f88f184@yandex.ru> <9377bf2b-13ed-8d86-4294-0b88e6808d80@yandex.ru> 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="34897"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eshel Yaron , Spencer Baugh , Eli Zaretskii , stephen_leake@stephe-leake.org, john@yates-sheets.org, rms@gnu.org, fgunbin@fastmail.fm, casouri@gmail.com, emacs-devel@gnu.org, azeng@janestreet.com To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 08 02:20:39 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 1r0XFH-0008vH-62 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Nov 2023 02:20:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0XEK-0004fI-5Y; Tue, 07 Nov 2023 20:19:40 -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 1r0XEH-0004f5-OE for emacs-devel@gnu.org; Tue, 07 Nov 2023 20:19:37 -0500 Original-Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r0XEF-0001wX-SY; Tue, 07 Nov 2023 20:19:37 -0500 Original-Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-507ad511315so9168019e87.0; Tue, 07 Nov 2023 17:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699406373; x=1700011173; 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=nt53oHfUSQLvcXio/hy7K4oBL7Q+9evcKpWDLQ9pEgE=; b=gHqUmJ3+bMpOPSd5oqb6qBVvNrG93UxoKEmMVV3l+FxHNBsTatAWErGYc/Sjm4fh/c 0pwYotN3VGpTWIvzxGcvcv36W+3f+hoNByEeaAXXyjtV/vIJtFLC0pRay0zpMkY/Hs4x 0WBj8Zw7n7BQDuLLDz0irJYK7Y9lP3KGR542e9xvGzdAUq0OtKHTw+hmsfntjboB6rDg 2x+NSiZXBpquzk0SlJLTnnQL/zL/wgqkleuD6lLiL72TgLF6iYjRW4UXB7VMOD7tkD4j Y3qVBLg2+nydYvR2M5VLh4Ap1F1SNWToJXKk4DzyMMDJe6ispOyZbmqeO6rjs2FZjxM+ VQJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699406373; x=1700011173; 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=nt53oHfUSQLvcXio/hy7K4oBL7Q+9evcKpWDLQ9pEgE=; b=waQq2ZT9vgUpaVWXCPWgqOZYsTNVpzH/PM6VuhYAsgrb0PK0sogeuWsvMaZV4/4ce8 dMfI67OShe/QRrMkpxE5VIrP8YuCFR6VbR/xE98NFe0Zp1+ZBHVmCNZkzj2kLAM4MCNN PQZRZgXXxSlCKAkKfCKYBouP/e6JQhyFz1U2/XRQhCiQmxuaV2GmpjJq8xBK6VEmRDGs sQp2Bpjvqw9VQiYBvpMj97i6NfvCi4UBLVMlB9beBzbN9oInHEmwMLqGk7iKndatwjWq tdisl9CvaxrRlDueXbbtrSazP/ERG4wbQO288fjYS7Esp+9W/YMTUYwI3oIg/oTXMpP9 sqcw== X-Gm-Message-State: AOJu0YyxvobBaRcHXSXOwdTT8QlupxN2tmBEbqhkxQYnst+MRFrlkRvW O9+Lo98STGpLUFVim1lwgk2HkOvYJOruHes8WYI= X-Google-Smtp-Source: AGHT+IGSgyq4KXFFvASEHuZSbZNCZuhka/FDTP43zmeVwFwjArIyT1gICT4XxZPOCQ0XUOsnW8XlTO7zU0j60x/4Eak= X-Received: by 2002:ac2:4c48:0:b0:500:9a45:62f with SMTP id o8-20020ac24c48000000b005009a45062fmr269931lfk.8.1699406372509; Tue, 07 Nov 2023 17:19:32 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x12c.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:312331 Archived-At: On Wed, Nov 8, 2023 at 12:33=E2=80=AFAM Dmitry Gutov wro= te: > > On 08/11/2023 02:21, Jo=C3=A3o T=C3=A1vora wrote: > > On Tue, Nov 7, 2023 at 11:18=E2=80=AFPM Dmitry Gutov = wrote: > > > >> Joao didn't want to have such definitions in Xref. I'm still on the > >> fence, personally. > > What don't I want? I haven't read this wordy subthread but it seems > > Eshel is proposing exactly what I changed in xref-find-extra: take "kin= d" > > as argument. > > Sorry: you didn't want those definitions in _Eglot_. Not in Xref, that > was a mistype. Ah. Well, first, it a fact that I _have_ them in Eglot, and I'll keep having them, because they've been there a long time. And it's not really relevant that I didn't _want_ them. If I had the choice back then between recommending existing xref commands and adding new commands to Eglot, of course I wouldn't have added them. But I hadn't, so I did. Pretty simple. So I don't understand the argument you're making against Eshel's and my suggestion. > >> Or it would be nice to hear from someone who have tried out Eglot's > >> integration and found more upsides there. > > If you want that to happen, the only realistic way to have good > > feedback from anyone else other than emacs-devel nerds like me and you > > is to release an Eglot version with this feature, which we can change > > later (even non-backward-compatibly, within a reasonable time frame). > That seems like a last-resort type of approach, for this particular > discussion. Not really, just being pragmatic and suggesting a way for you to get the opinions from Eglot users that you wrote you wanted. There isn't a significant amount of engaged Eglot users in this discussion that are going to try the patch. Jo=C3=A3o