all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stefan Monnier'" <monnier@iro.umontreal.ca>,
	"'Leo'" <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: RE: `completion-in-region'
Date: Sun, 11 Apr 2010 11:05:01 -0700	[thread overview]
Message-ID: <493575A8A83B43BCB1AF49E239599A77@us.oracle.com> (raw)
In-Reply-To: <jwvk4sexbvp.fsf-monnier+emacs@gnu.org>

> > BTW, some modern text editors (such as textmate) have 
> > started offering fuzzy completion as default.

It is a bad default, IMO. Icicles offers it, and you can make it the default if
you want (or switch to it with a key press), but I do not impose it as the
default. (I don't even recommend using it, in general.)

> Interesting.  Do you have any details of what is meant by "fuzzy"?

TextMate's default matching (it has no name AFAIK) is the same as Ido's "flex"
matching and Icicles's "scatter" matching. It is a poor-man's fuzzy matching
(not fuzzy matching in the more usual sense). (TextMate uses this matching only
for file names, I believe.)

How it works: Input characters are matched in order against completion
candidates, but possibly with intervening characters. That is, to match, each
input character must also be in the candidate, and the character order must be
respected.

I call it "scatter" or "spread" matching because your input chars are spread
throughout the candidate being matched, keeping their order.

This page describes scatter matching and other kinds of ~fuzzy matching in the
context of completion:

http://www.emacswiki.org/emacs/Icicles_-_Fuzzy_Completion 





  reply	other threads:[~2010-04-11 18:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-06 14:37 `completion-in-region' Leo
2010-04-09  3:05 ` `completion-in-region' Stefan Monnier
2010-04-11 12:56   ` `completion-in-region' Leo
2010-04-11 15:32     ` `completion-in-region' Stefan Monnier
2010-04-11 18:05       ` Drew Adams [this message]
2010-04-11 19:44         ` `completion-in-region' Stefan Monnier
2010-04-11 19:56           ` `completion-in-region' Drew Adams
2010-04-11 20:49             ` `completion-in-region' Stefan Monnier
2010-04-11 21:13               ` `completion-in-region' Drew Adams
2010-04-11 20:08           ` `completion-in-region' Lennart Borgman
2010-04-11 20:51             ` `completion-in-region' Stefan Monnier
2010-04-11 21:06               ` `completion-in-region' Lennart Borgman
2010-04-12  2:10                 ` `completion-in-region' Stefan Monnier
2010-04-12  9:46                   ` `completion-in-region' Lennart Borgman
2010-04-12 13:10                     ` `completion-in-region' Stefan Monnier
2010-04-12 14:50                     ` `completion-in-region' Davis Herring
2010-04-11 21:12             ` `completion-in-region' Drew Adams
2010-04-12 15:36       ` `completion-in-region' Leo
2010-04-12 18:10         ` `completion-in-region' Stefan Monnier
2010-04-12 15:51       ` `completion-in-region' Leo

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=493575A8A83B43BCB1AF49E239599A77@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=sdl.web@gmail.com \
    /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.