From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#49731: 28.0.50; Filter xref results by filename Date: Mon, 02 Aug 2021 23:58:10 +0300 Organization: LINKOV.NET Message-ID: <877dh3ftst.fsf@mail.linkov.net> References: <030dbe6c-130d-e578-f50d-54e90bfa7cfa@yandex.ru> <7593e0f3-9399-ccf3-21de-b2ac79ae3730@yandex.ru> <87fsvyik4u.fsf@mail.linkov.net> <87tukdm4bn.fsf@mail.linkov.net> <54489bae-ec24-43e7-a600-7189cad19bb5@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17026"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Daniel =?UTF-8?Q?Mart=C3=ADn?= , 49731@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 02 23:40:28 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 1mAfff-0004EK-Sr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 23:40:27 +0200 Original-Received: from localhost ([::1]:49028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAffe-0005TJ-PG for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 17:40:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAffG-0005S2-Ok for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 17:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56105) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAffG-0008WJ-Gb for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 17:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAffG-0007Li-DL for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 17:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Aug 2021 21:40:02 +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.162794035828168 (code B ref 49731); Mon, 02 Aug 2021 21:40:02 +0000 Original-Received: (at 49731) by debbugs.gnu.org; 2 Aug 2021 21:39:18 +0000 Original-Received: from localhost ([127.0.0.1]:39413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAfeY-0007KG-3D for submit@debbugs.gnu.org; Mon, 02 Aug 2021 17:39:18 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:49721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAfeW-0007K2-KX for 49731@debbugs.gnu.org; Mon, 02 Aug 2021 17:39:17 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E10D41BF207; Mon, 2 Aug 2021 21:39:08 +0000 (UTC) In-Reply-To: <54489bae-ec24-43e7-a600-7189cad19bb5@yandex.ru> (Dmitry Gutov's message of "Mon, 2 Aug 2021 05:09:30 +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" Xref: news.gmane.io gmane.emacs.bugs:211084 Archived-At: >> I suppose xref-find-apropos doesn't offer >> the identifier at point as its default because 'apropos' doesn't offer >> the default? But this is not a big problem. > > Maybe because of that, or because one usually searches for a word or > several (right?), rather than some identifier name. > > Providing a default wouldn't break anything, though. Perhaps some people > will find it easier to extract the key words they wanted from the symbol > name at point. Indeed, such as removing the suffix and leaving a common prefix to search all functions under the same package namespace, etc. > Try this patch: Thanks, this makes it more useful.