From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31807: 27.0; `info-apropos' bad name or bad matching Date: Thu, 14 Jun 2018 16:27:04 +0300 Message-ID: <83o9gd33dj.fsf@gnu.org> References: <78156de2-86c8-4593-92b5-59edf7a8996e@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1528982887 13299 195.159.176.226 (14 Jun 2018 13:28:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2018 13:28:07 +0000 (UTC) Cc: 31807@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 14 15:28:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTSIC-0003GO-U0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2018 15:28:01 +0200 Original-Received: from localhost ([::1]:40644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTSKK-0007jA-66 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jun 2018 09:30:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTSII-0006AY-0v for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2018 09:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTSIE-00064Y-S6 for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2018 09:28:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTSIE-00064R-OC for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2018 09:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fTSIE-0001PP-IH for bug-gnu-emacs@gnu.org; Thu, 14 Jun 2018 09:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jun 2018 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31807 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31807-submit@debbugs.gnu.org id=B31807.15289828525370 (code B ref 31807); Thu, 14 Jun 2018 13:28:02 +0000 Original-Received: (at 31807) by debbugs.gnu.org; 14 Jun 2018 13:27:32 +0000 Original-Received: from localhost ([127.0.0.1]:47429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTSHk-0001OX-1L for submit@debbugs.gnu.org; Thu, 14 Jun 2018 09:27:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTSHj-0001OM-00 for 31807@debbugs.gnu.org; Thu, 14 Jun 2018 09:27:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTSHa-0005wa-HA for 31807@debbugs.gnu.org; Thu, 14 Jun 2018 09:27:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTSHa-0005wV-6I; Thu, 14 Jun 2018 09:27:22 -0400 Original-Received: from [176.228.60.248] (port=3442 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fTSHW-0000jC-1m; Thu, 14 Jun 2018 09:27:19 -0400 In-reply-to: <78156de2-86c8-4593-92b5-59edf7a8996e@default> (message from Drew Adams on Tue, 12 Jun 2018 16:01:37 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147405 Archived-At: > Date: Tue, 12 Jun 2018 16:01:37 -0700 (PDT) > From: Drew Adams > > `info-apropos', as its doc string says, apparently does NOT do "apropos" > matching, i.e., regexp and keyword matching. It apparently does literal > string matching against index entries in all of the manuals. > > Perhaps either the name should be changed (to not use the word > "apropos") or the behavior should be changed, to allow apropos matching. This command is the Emacs implementation of the "info --apropos" feature present in the Texinfo's stand-alone Info reader, which also looks for substring matches. Apparently, "apropos" doesn't necessarily mean "regexps and keywords". > I threw this together quickly, as a POC. It does the job, but Thanks. The original command was introduced 11 years ago, so I don't think we can make radical changes in the user-visible behavior by default after all this time. This should be an opt-in optional behavior, controlled either by a prefix argument or by a (new) user variable. Would you like to modify your suggestion along these lines? Btw, does this really work as intended without changes to Info-apropos-matches? That function calls regexp-quote on its argument. > BTW, should the name be `Info-apropos' or `info-apropos'? We've been through that, see the reason explained here: http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00482.html