[Top][All Lists]

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

Re: enabling company-capf support in cfengine.el

From: Dmitry Gutov
Subject: Re: enabling company-capf support in cfengine.el
Date: Mon, 20 Jan 2014 04:33:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 20.01.2014 04:20, Stefan Monnier wrote:
Unfortunately though, "idle completion" is a less familiar term than
"auto-complete", to an average user.

Right, it makes just as little sense as "automatic completion" to me.

"idle completion" is completion initiated automatically after Emacs has been idle for some time, also see "idle timer". How would you call it better?

How 'bout:

(defcustom company-minimum-prefix-length 3
   "The minimum prefix length before Company pops up completion options."
                                               ^^^^ ^^
Also not ideal: although Company uses the "pseudo-tooltip" by default, depending on the value of `company-frontends' it may display completion candidates inline (when there's just one candidate, it does that anyway), or in the echo area. Or using some other way, provided someone writes a new frontend.

And this description mixes up notions of space and time. The "minimum prefix length" is a necessary condition, but the variable responsible for "before" is `company-idle-delay'.

reply via email to

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