emacs-devel
[Top][All Lists]
Advanced

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

regexp completion (was: kill-ring visualization)


From: Stefan Monnier
Subject: regexp completion (was: kill-ring visualization)
Date: Thu, 25 Mar 2010 22:00:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> 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?

It probably could, but I don't know *how*.  But maybe it's because I'd
want it to do something more than what it can.  I.e. maybe the "trivial"
answer is pretty much the only answer.


        Stefan




reply via email to

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