From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62837: [PATCH] Add a semantic-symref backend which uses xref-matches-in-files Date: Sat, 15 Apr 2023 09:50:36 +0300 Message-ID: <83o7npej0j.fsf@gnu.org> References: <5e6eddd5-4b38-5765-05f3-dd6c1927edd3@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24085"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 62837@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 15 08:51:30 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 1pnZkv-00060k-0H for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Apr 2023 08:51:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnZka-0006NH-MM; Sat, 15 Apr 2023 02:51:10 -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 1pnZkV-0006Mt-GO for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 02:51:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pnZkT-0004Uq-Py for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 02:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnZkT-0008Ej-M8 for bug-gnu-emacs@gnu.org; Sat, 15 Apr 2023 02:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Apr 2023 06:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 62837-submit@debbugs.gnu.org id=B62837.168154145231597 (code B ref 62837); Sat, 15 Apr 2023 06:51:01 +0000 Original-Received: (at 62837) by debbugs.gnu.org; 15 Apr 2023 06:50:52 +0000 Original-Received: from localhost ([127.0.0.1]:48149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnZkJ-0008DX-QN for submit@debbugs.gnu.org; Sat, 15 Apr 2023 02:50:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnZkH-0008Ce-Qm for 62837@debbugs.gnu.org; Sat, 15 Apr 2023 02:50:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnZk8-0004Rx-GJ; Sat, 15 Apr 2023 02:50:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1WRYjdTWl/gupsdAc+myoTUAUdivy5OoUx2UnnTfMg4=; b=H5DB61BrTD/B wBStBce0EDkLx2B2zGkITBo4GxZJ0cZeVCo57wJPN1mZwUAnGRChIF5/aqVkxmU1hWbAMqzpAULUe qgXLLJoayplA4yiaHh0PWqp1bhMWTTJoUt18R8oiFZpqVpu5AkT6lQHV2aujSy0NU+0k+lUihgtZ3 SH1xDzBnEW9Aev4Bft6tk9s1l9DV8/4ramXWIOzXs7iBlg1tFx0QZN4+p0Bx01kt+RAkJ86LBBg+b 927tg8WLvW7nfxVZTR4s08uB9EHYcf2GJ+OtsAqsMVFLZmzoVbvhMhUIXjy3AUYEqkTm9zBM12KgD k9cB9wWtacaqAkMCmzkG1w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnZk6-0005U3-Bn; Sat, 15 Apr 2023 02:50:39 -0400 In-Reply-To: <5e6eddd5-4b38-5765-05f3-dd6c1927edd3@yandex.ru> (message from Dmitry Gutov on Sat, 15 Apr 2023 01:38:18 +0300) 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:259996 Archived-At: > Date: Sat, 15 Apr 2023 01:38:18 +0300 > From: Dmitry Gutov > > On 14/04/2023 18:37, Spencer Baugh wrote: > > When project-files is available, this is a much more efficient > > fallback than the current grep fallback. Ultimately, this is > > motivated by making xref-find-references faster by default even in the > > absence of an index. > > It's a clever enough idea, but unfortunately it doesn't look like the > performance is always improved by this change. Maybe we could offer that as optional behavior, turned on by some user option? Then people who do experience performance boost could use it.