From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Adding support for xref jumping to headers/interfaces Date: Thu, 9 Nov 2023 01:06:05 +0200 Message-ID: <2fc03018-3250-f0b1-88d2-b0d1e31e36d8@gutov.dev> References: <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; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27347"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: Spencer Baugh , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 09 00:06:53 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 1r0rdM-0006sT-9H for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Nov 2023 00:06:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0rcm-0002Os-Gf; Wed, 08 Nov 2023 18:06:16 -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 1r0rcl-0002Oj-7A for emacs-devel@gnu.org; Wed, 08 Nov 2023 18:06:15 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r0rci-0004UP-55 for emacs-devel@gnu.org; Wed, 08 Nov 2023 18:06:13 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id D19C83200990; Wed, 8 Nov 2023 18:06:08 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 08 Nov 2023 18:06:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699484768; x=1699571168; bh=ex1OYScKXsobKOqJuEMpBchzDdGkYFSkXHC gxrKFVWY=; b=WYt2fxMioDktkBa/fPI5sy6cU2xxYieQbohlpsgHvJ+NsO6gkuR LNFpSYpZdvzgyN1bVOaoYg6K2sAe/TbiJ1K+VWmqw75HNujAu8VspBBhjw+uLu2R A7lomDKUamSZAcYAO0FtBLJ+0cj9UumLZr4so9NP7LraDrwYRwSurdOHbM4sqN/+ yaGRSr1mugNr/+Z7xY5GoNox58EzZix50fPio6JyC6GlgCqwZiT0VOUKBpSoTU3F YL5zaeRTqgTx9ZZaydWnJNHrTp6aAjP2dYNmxlQc4jKtwKE+UxluaI9ydfBJ7NQU YSZP0UivOzUglGpOhb+Zh3g/tafihBQpqbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1699484768; x= 1699571168; bh=ex1OYScKXsobKOqJuEMpBchzDdGkYFSkXHCgxrKFVWY=; b=T twYzeHibk7NU/hxndEq57XoyqBMfwDnsyKno7TYs2uNOM684hVerIDtVWc9PhSnv dWUrW2c/I2beJVRRT0XS0BF6TFV+iJ6/IzaCZVOzV5vTXtZi5uTWakQLmmYqtKRu fSpJbZz1dOtMYXfmzPp+zukkQGSgMCQFgu6Axcl5t8Ge/FFt5X04V08I+yYnUIlC wExNW/MzkLj6SiiGNykiBuADK0pTFbk+I9mohtMv9EO4KU3pPUh/dswKNiy8pH/C nTziMHLkobsYRpTR1TbMKWGGMc0a7MdIHDwqTIqV2xLFWyJ8jfB01NDislwdhzhy 237AGKbDf4nBqWj6UI8Ag== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvtddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeghedthedujeeiteeutddtjeekheejteeukeehffdutdejuedvfeevueeviedu udenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Nov 2023 18:06:07 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.21; envelope-from=dmitry@gutov.dev; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -60 X-Spam_score: -6.1 X-Spam_bar: ------ X-Spam_report: (-6.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, NICE_REPLY_A=-3.277, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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:312366 Archived-At: On 08/11/2023 18:11, Spencer Baugh wrote: > However, the alternative UI which shows all kinds of definitions in a > single buffer does not exist for Eglot in the same way it exists for > Elisp. So... I can't really compare it to that. I wonder what kind of forms we would call "declarations" in Emacs Lisp. cl-defgeneric form seems to meet that description, but it can also contain the default definition, so on average it seems good to have it in the "find definitions" set by default. We also have (declare-function ...) calls which seem to fit the description even better. Unfortunately, we don't know how to search for them (yet?), so they only feature in the search for "references". And that's probably good that they are not in the "find definitions" set. Anything else? I think that's it.