Fuzzy matching with helm-show-kill-ring

11 views
Skip to first unread message

Petey

unread,
May 28, 2015, 4:39:25 AM5/28/15
to emacs...@googlegroups.com
Is it possible?


Michael Heerdegen

unread,
May 29, 2015, 7:56:46 AM5/29/15
to emacs...@googlegroups.com
Petey <pste...@gmail.com> writes:

> Is it possible?

You could add

:fuzzy-match t

to the (helm-build-sync-source "Kill Ring" ...) call in "helm-ring.el".
AFAIK, redefining the source is currently the easiest way to do it. It
would be easier to do if there was a class definition.

Do you think that fuzzy matching should be the default for that source?


Regards,

Michael.

Message has been deleted

Petey

unread,
May 29, 2015, 4:03:10 PM5/29/15
to emacs...@googlegroups.com, michael_...@web.de
Thanks a lot :-).

Yes, definitely! That would be nice.

Regards,
Petey.

Thierry Volpiatto

unread,
May 29, 2015, 4:04:02 PM5/29/15
to emacs...@googlegroups.com
I don't think so, because matching can happen on large strings (e.g
large functions or buffers copied) and this will slow down helm and also
give a lot of false positives.

--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997

Petey

unread,
May 29, 2015, 4:40:02 PM5/29/15
to emacs...@googlegroups.com
Ok.

I tried it today. It works great for me.
Reply all
Reply to author
Forward
0 new messages