all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Substring matching for info index command
Date: Sun, 7 Dec 2014 12:15:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141207T131109-263@post.gmane.org> (raw)

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?





             reply	other threads:[~2014-12-07 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 12:15 Tom [this message]
2014-12-07 14:06 ` Substring matching for info index command Drew Adams
2014-12-07 14:16   ` Tom
2014-12-07 14:56     ` Drew Adams
2014-12-07 15:56 ` Eli Zaretskii
2014-12-07 16:02 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20141207T131109-263@post.gmane.org \
    --to=adatgyujto@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.