From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: enabling company-capf support in cfengine.el Date: Mon, 20 Jan 2014 04:33:37 +0200 Message-ID: <52DC8B01.3040700@yandex.ru> References: <87fvqtg02v.fsf@flea.lifelogs.com> <87haa4gw69.fsf@flea.lifelogs.com> <87txe4usm1.fsf@yandex.ru> <87zjnvg2t2.fsf@flea.lifelogs.com> <87txe364q0.fsf@yandex.ru> <87r497fu0h.fsf@flea.lifelogs.com> <87haa1litl.fsf@yandex.ru> <87y53czx7e.fsf@yandex.ru> <87bo08bivm.fsf_-_@flea.lifelogs.com> <87sitkzahs.fsf@yandex.ru> <52D7DAAB.2070709@yandex.ru> <52D81960.2080408@yandex.ru> <52DA8C17.4080707@yandex.ru> <52DC032E.2020305@yandex.ru> <52DC6685.6020504@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390185236 24636 80.91.229.3 (20 Jan 2014 02:33:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2014 02:33:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 20 03:34:03 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W54gc-0000p6-NX for ged-emacs-devel@m.gmane.org; Mon, 20 Jan 2014 03:34:02 +0100 Original-Received: from localhost ([::1]:48535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W54gc-00073x-9q for ged-emacs-devel@m.gmane.org; Sun, 19 Jan 2014 21:34:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W54gR-0006ng-AX for emacs-devel@gnu.org; Sun, 19 Jan 2014 21:33:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W54gI-0001mQ-Rn for emacs-devel@gnu.org; Sun, 19 Jan 2014 21:33:51 -0500 Original-Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:59668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W54gI-0001mG-Jz for emacs-devel@gnu.org; Sun, 19 Jan 2014 21:33:42 -0500 Original-Received: by mail-ee0-f43.google.com with SMTP id c41so3147109eek.30 for ; Sun, 19 Jan 2014 18:33:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=e7EqF3Y3LaPqMafGwMZxiV0BfXoVDZ2lpAx46/Pirio=; b=XDczxG63od497ttsbJNm/DsQnjKb9TFMnNr++g4/ExBHiu1X+ooLSKGnQlZ1qDyInn VdSUi+pnLtIh2NiKvNRYogswJ9BHs+O2MOfWRzcqcCk0ETV8n5UWelqEYwUYQWWE3r+v /k0hKtyhpQjNcCOv23hg/vDnyPht5hbQMMsHXPaRy2hMySFJ+uPZSPZN60gPEsAz/p6c m9cU+9OTVXIKVui5BNj0Zz3T+9gs0xwOIKJlgFew6yYErDMGPuvoZFPm+i2P3sauCqm+ l8q0hyXdTrwKnERXmRwYzLGokww6OAgOIINRfVSGQ7I5Bm7expXpIemCkFhpa2VgeXqC UOTw== X-Received: by 10.14.126.1 with SMTP id a1mr42974eei.81.1390185221782; Sun, 19 Jan 2014 18:33:41 -0800 (PST) Original-Received: from [192.168.10.2] (62-126-148.netrun.cytanet.com.cy. [62.228.126.148]) by mx.google.com with ESMTPSA id z46sm48375905een.1.2014.01.19.18.33.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 Jan 2014 18:33:41 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168761 Archived-At: 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'.