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.bugs Subject: bug#65520: 30.0.50; [FR Xref] Project-wide operations Date: Sun, 27 Aug 2023 03:32:22 +0300 Message-ID: References: <5fc3aec1-019e-49c8-d939-91042f16650b@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38880"; 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 Cc: 65520@debbugs.gnu.org, Visuwesh To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 27 02:33:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qa3iQ-0009sW-DO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Aug 2023 02:33:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qa3i6-0001rc-CM; Sat, 26 Aug 2023 20:32:58 -0400 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 1qa3i5-0001q8-4M for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 20:32:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qa3i4-0000AZ-SL for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 20:32:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qa3i9-00023S-VG for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 20:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Aug 2023 00:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65520 X-GNU-PR-Package: emacs Original-Received: via spool by 65520-submit@debbugs.gnu.org id=B65520.16930963667875 (code B ref 65520); Sun, 27 Aug 2023 00:33:01 +0000 Original-Received: (at 65520) by debbugs.gnu.org; 27 Aug 2023 00:32:46 +0000 Original-Received: from localhost ([127.0.0.1]:43605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa3hs-00022v-Dr for submit@debbugs.gnu.org; Sat, 26 Aug 2023 20:32:46 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:41731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qa3hn-00022e-3Y for 65520@debbugs.gnu.org; Sat, 26 Aug 2023 20:32:43 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1C9CB3200406; Sat, 26 Aug 2023 20:32:26 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 26 Aug 2023 20:32:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :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=fm3; t= 1693096345; x=1693182745; bh=0JEGdbkmqcgbOSDl1VWGGAfSbxeKgnITYKQ nBdPVAbM=; b=VkUL0PDcGs4JRhQPtSUHLuITSFDhzau1LixfgIy2B9anVu7FPx5 Cu826rRYG0T0C4XgnLaHjhk5XSukU9MX7RdgFN1X/HZR+LE9UXGWbOujWkKGisjI tqFOf5akPM4WcYT3hMr7MXuxvmpsoMslUEfXHTl1tZW6G+GuAWL5qv1L1O2n2RnU iejwjY/bxECBnbiMv7KdvAxShPeDTpFxAu+q18tATfCimSaKFkitQ4q2OmigE9uu 7lY/h7yOzpuR5TTNsofrRx8i7jExVrI+um7RK6AbFVUC/ZbERmqk9FIlCfXpq+cP DSP6rhEAFoCYrLIpxUNdSL404pzxUohwKDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm1; t= 1693096345; x=1693182745; bh=0JEGdbkmqcgbOSDl1VWGGAfSbxeKgnITYKQ nBdPVAbM=; b=0OFO8sKapiSjOyoEtMKCVNNtwMzApl//7sZr9weuap4pbSGv8Xe zJHG9gDwJs+Z4cF3WrTcIWTrlcXsxhydQuW2voelk9cg+U8TE8KXn1WzTUoEkyEb ROmaIbOcpaoUhA1EgQqqcf08za8uXEGJrJF8aD/Uio4Q2emdVYs4uI8iqyyRtqWG iy2Cxqva9cVYd32izPg2FmRHSirVOeCHYlMoXAkGHzUQbqJee8yu71/ybitJv0Ts YSpThYfwPnHgNa6ARav0+JcmKTZkXDjjJtBs4SucODC+zuT1G3TQepFyvwzQayCD r64wXIa3OLZYAmpO+M7Y2foIuFnPjWX2GPw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefuddgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesth ekredttdefjeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehg uhhtohhvrdguvghvqeenucggtffrrghtthgvrhhnpefhffehleejffegffeugefhkeektd ffgfehjedvgeejtedtudehueffgffgfeejheenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Aug 2023 20:32:24 -0400 (EDT) Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268524 Archived-At: On 26/08/2023 08:31, Gerd Möllmann wrote: >>>> No such capability at the moment, but we indeed have an ELPA package >>>> xref-union which implements the "merging" feature that has been >>>> requested in the past. >>> Thanks also to Visuwesh for pointing me to xref-union. >> >> Have you tried it? > > Not yet. I'm still hoping someone else (tm) builds something, so that I > don't have to do anything. xref-union is a thing that somebody has already built. Either you try it and like it, or you can come back with more targeted feedback. Which we could then use to improve either it, or the core xref, of course. >> Indeed, it's also a question of mental model, which we might have >> different. When I was saying "different projects" and "register >> globally", I was thinking of being able to jump to Emacs' sources and >> hack them from anywhere: from any other project I might be working on >> at the moment. >> >> If we're talking about Emacs development only, a "combined" backend >> might make more sense (see the other email). > > No, I didn't mean Emacs development specifically, although that's > probably the only things I'd use such a facility for. > > The whole thing would be like in some IDEs, with their "usual" idea of > project. I'm not 100% sure, but I think I've seen vscode being used > with different languages (JS, CSS, Java...) and offering such > project-wide stuff. IIRC the LSP protocol includes project type detection, and so Eglot can automatically spin up several language servers already. Without the addition of a similar registry, which all backends would have to plug into, the best we could do is loop across the open project buffers and see what backends exist there. But that would e.g. miss Elisp if you haven't opened any .el files in the current session yet.