[Top][All Lists]

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

Re: company 0.2.1 -- extensible inline text completion mechanism

From: Nikolaj Schumacher
Subject: Re: company 0.2.1 -- extensible inline text completion mechanism
Date: Tue, 07 Apr 2009 09:58:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (darwin)

hugo <address@hidden> wrote:

> At first sight, his version for completing elisp (perhaps his version
> uses only the current buffer and not the internal lists?) is much
> faster,

If I see correctly, both offer symbols from the global list.  But while
his also offers all words from the buffer, mine attempts to correctly
determine the local variables.  It seemed more than fast enough.

If you have the time, could you move point to a place where it seems
slow and do:

M-: (benchmark-run 100 (company-elisp 'candidates ""))

> OTOH, none of those seems to provide a function like completing-read
> that I could use in my libraries...

Company can't work in a blocking call.  Are you interested in the
result, or do you just want to "start completion with these candidates"?

Nikolaj Schumacher

reply via email to

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