emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kill-ring visualization


From: Thierry Volpiatto
Subject: Re: kill-ring visualization
Date: Thu, 25 Mar 2010 10:47:58 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> PS: I do not know how to do regexp-style completion, to tell you the
>> truth.  I.e. I know how to implement the all-completions part of it,
>> obviously, but I don't know how to then merge the matches into something
>> suitable for try-completion.  I guess you could just apply
>> try-completion to the list of matches, but that would only lead to
>> something useful if the matches share some prefix.
>
> Currently a `*' in the completion string acts as the simplest regexp
> (wildcard), and it does its job pretty well.  Couldn't this be extended
> to the true regular expressions?

Actually, anything have a source to browse killring.
I use it always, it's very nice.
However, you could reuse the code of bookmark-bmenu-search (see
bookmark.el) as interface for kill ring to mimic what anything does.
You will narrow down killring list when typing.

See also ioccur.el:
http://mercurial.intuxication.org/hg/ioccur
That use same technique.

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]