From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.help Subject: Substring matching for info index command Date: Sun, 7 Dec 2014 12:15:52 +0000 (UTC) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1417954605 14452 80.91.229.3 (7 Dec 2014 12:16:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 12:16:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 07 13:16:38 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XxalQ-0002Tg-VF for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Dec 2014 13:16:37 +0100 Original-Received: from localhost ([::1]:57758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxalQ-0001It-DV for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Dec 2014 07:16:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxal7-0001Ij-Bw for help-gnu-emacs@gnu.org; Sun, 07 Dec 2014 07:16:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xxaky-0005EV-VQ for help-gnu-emacs@gnu.org; Sun, 07 Dec 2014 07:16:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxaky-0005EO-Oo for help-gnu-emacs@gnu.org; Sun, 07 Dec 2014 07:16:08 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xxakv-0002CK-3v for help-gnu-emacs@gnu.org; Sun, 07 Dec 2014 13:16:05 +0100 Original-Received: from 94-21-222-147.pool.digikabel.hu ([94.21.222.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Dec 2014 13:16:05 +0100 Original-Received: from adatgyujto by 94-21-222-147.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Dec 2014 13:16:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.222.147 (Mozilla/5.0 (Windows NT 6.1; rv:33.0) Gecko/20100101 Firefox/33.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101465 Archived-At: I've never used the builtin completion-styles, because I use other completion packages, but I thought I give it a try and try substring matching for the info index command. I added this advice to the command which wraps it in a let and sets completion-styles to substring: (defadvice Info-index (around my-Info-index activate) (let ((completion-styles '(substring))) ad-do-it)) However, it has no effect, it still uses the prefix completion style. Why is that?