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#49731: 28.0.50; Filter xref results by filename Date: Thu, 29 Jul 2021 05:02:47 +0300 Message-ID: References: <030dbe6c-130d-e578-f50d-54e90bfa7cfa@yandex.ru> <7593e0f3-9399-ccf3-21de-b2ac79ae3730@yandex.ru> <87fsvyik4u.fsf@mail.linkov.net> 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="21969"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cc: Daniel =?UTF-8?Q?Mart=C3=ADn?= , 49731@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 29 04:03:12 2021 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 1m8vOC-0005Wu-El for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Jul 2021 04:03:12 +0200 Original-Received: from localhost ([::1]:50648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m8vOA-0002Dy-BX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Jul 2021 22:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m8vO2-0002Db-8d for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 22:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m8vO2-0001vt-14 for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 22:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m8vO1-00010M-MD for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2021 22:03: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: Thu, 29 Jul 2021 02:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49731 X-GNU-PR-Package: emacs Original-Received: via spool by 49731-submit@debbugs.gnu.org id=B49731.16275241783852 (code B ref 49731); Thu, 29 Jul 2021 02:03:01 +0000 Original-Received: (at 49731) by debbugs.gnu.org; 29 Jul 2021 02:02:58 +0000 Original-Received: from localhost ([127.0.0.1]:56107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8vNy-000104-As for submit@debbugs.gnu.org; Wed, 28 Jul 2021 22:02:58 -0400 Original-Received: from mail-wr1-f42.google.com ([209.85.221.42]:40470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m8vNw-0000zr-A7 for 49731@debbugs.gnu.org; Wed, 28 Jul 2021 22:02:56 -0400 Original-Received: by mail-wr1-f42.google.com with SMTP id p5so4765908wro.7 for <49731@debbugs.gnu.org>; Wed, 28 Jul 2021 19:02:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=x/P3ST1VUDpEv5++YTLkcGBeFBljaA5FW644WrC0Uq4=; b=Z7kZLKUowDjTzPZ2Q2DyJNg5cyejyR2rMKQn/tRF2Gl9TS/mgWaGqlQ532M9m6TDBZ U4qZ1OihAVBhn4p9KO9/tc/HyT0OAQ3TM1jotPoxvgOAg7uuCckI7mZKCWgMn4kQQ52F LwuFssWFRFO4PzcYRg2hqK6/QW8lLYVRuY3DUq2A6Jd+UDgjLndey/Jbkh4NwhlHiHv/ tnZmgHBl6KafFwlwZFmfgdFYchlZ7+9W+LPsY2tNHrLwarbUXsnA7tF/9wYpvaKo3bgA nt+hPYXGaXol0EE8hTQyMV10Nua64cupEukKIFN0lAFU2XRQwJJv/I1bZ2Du1+F8OLoH ZdRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=x/P3ST1VUDpEv5++YTLkcGBeFBljaA5FW644WrC0Uq4=; b=C6gv2w0MVfvfZSAuT3F0shmVRmYvoFRHR1OMl750IafPMA5Iw8hKZecXTXj++nddag 5e1yCAY2Oo7yElUrnptqpsxr1oz4lFBR1uNUhl3kKYpKsdKQ4+PUZ4DD6ixR61kRq4Vx hbRqEXDtRSf0GbOmQGMeNKEFOccgXlDmwFowWNQw8lqf5nlxO/0V3ehVSdtXlYVKwsii 281rtBfIA41CsUSQvwsLqQ0AZfJnf+dShW8sD5PNWDY2cf8yKl7KZDgaBj4fOAigzn7L AqFiqt4kyT/fCPejzA3MdsR0PJYyknO7OfGdE9GTXDkO9zwQHw6C2KwqqiAvSjJogVc9 PO2Q== X-Gm-Message-State: AOAM532Jn4z/PjBFaclHiw9Yq72VW2e8fgsNnuF+g891fhw8xUm+8ys7 FnnEo1DQMASgRSB7T9LjZAsfCFP8zV0= X-Google-Smtp-Source: ABdhPJxRgrt6OnLYjbFUzrKcDpMXWRZ1RfgTXu1tL6Na90tRJmOHKaPWDipYIHXLgVMBkPvab5j+Xg== X-Received: by 2002:adf:ea52:: with SMTP id j18mr2050131wrn.294.1627524170507; Wed, 28 Jul 2021 19:02:50 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id x16sm1510158wru.40.2021.07.28.19.02.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Jul 2021 19:02:49 -0700 (PDT) In-Reply-To: <87fsvyik4u.fsf@mail.linkov.net> Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:210847 Archived-At: On 28.07.2021 19:12, Juri Linkov wrote: > Thanks for mentioning xref-find-references and xref-find-apropos. > I tried them out, but they are broken: > > 1. while xref-find-references works fine in `emacs -Q`, > I don't know why with my customization typing e.g. > 'M-? isearch-lazy-highlight RET' reports > "No references found for: isearch-lazy-highlight". Try and see which of the "tools" semantic-symref-perform-search ends up using. If you have an index generated by Global, idutils or CScope, it could be missing this symbol and have the search fail because of that. Otherwise the search falls back to Grep, see lisp/cedet/semantic/symref/grep.el. You can edebug it there. > 2. xref-find-apropos doesn't offer the identifier at point as its > default, and after using it e.g. from the buffer isearch.el with > 'C-M-. isearch-lazy-highlight RET' all its lines are concatenated > on the same line in `emacs -Q`: Thanks for the report, should be fixed now.