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, 23 Dec 2013 02:17:35 +0200 Message-ID: <87sitkzahs.fsf@yandex.ru> References: <87fvqtg02v.fsf@flea.lifelogs.com> <878uvizrwz.fsf@uwakimon.sk.tsukuba.ac.jp> <8761qmkyn1.fsf@flea.lifelogs.com> <87zjnyxdpb.fsf@uwakimon.sk.tsukuba.ac.jp> <87k3f2j7xv.fsf@flea.lifelogs.com> <2518D79A-B9E4-45DF-A403-8330145DFD17@gmail.com> <87eh58j0x3.fsf@flea.lifelogs.com> <878uvg4ul2.fsf@yandex.ru> <87y53ghe94.fsf@flea.lifelogs.com> <87vbyk3497.fsf@yandex.ru> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387757874 19858 80.91.229.3 (23 Dec 2013 00:17:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Dec 2013 00:17:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 23 01:18:00 2013 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 1VutDc-0005Rt-CB for ged-emacs-devel@m.gmane.org; Mon, 23 Dec 2013 01:18:00 +0100 Original-Received: from localhost ([::1]:59838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VutDb-00081I-Ej for ged-emacs-devel@m.gmane.org; Sun, 22 Dec 2013 19:17:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VutDT-0007zq-3l for emacs-devel@gnu.org; Sun, 22 Dec 2013 19:17:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VutDL-0004D9-FC for emacs-devel@gnu.org; Sun, 22 Dec 2013 19:17:51 -0500 Original-Received: from mail-ee0-x234.google.com ([2a00:1450:4013:c00::234]:41993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VutDL-0004Cw-8C for emacs-devel@gnu.org; Sun, 22 Dec 2013 19:17:43 -0500 Original-Received: by mail-ee0-f52.google.com with SMTP id d17so2062974eek.11 for ; Sun, 22 Dec 2013 16:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=g3ovtYkQDBKXH807pi6BNQW5SPD6STpWuy8sjq6epPg=; b=RsZy6UNGmYgqg8m3iOGgbJ/WUxMRHuvG6y5nvY6+nJo3l0tUBxKnqXKxsDzUlzihWr CtPdZx3fMPs5+cu2/cfnp8VnQwqEHo1iqbn0vfLx+gHpw2TM92hsOQMM0oiLsEiZEiHf gEh+nV/ebYPMahgyskOiSLeG7VSB6oYCgVyBm074VWI0TJ8b8WHHiuyo90lBpomFQIYB WOX6JgpooZWfJxqqorV4Q0+dHqJkfjabBQKcIMwV8OrsfUOzNeeGASAlNlc48M79fD47 ovc5hd4Mnx8/KDP7ehJtlWRMpdsVceuUetsSA+4pU/SAeYualKfM0mesEi/tVx7PmeIS wdOA== X-Received: by 10.14.47.75 with SMTP id s51mr4677194eeb.97.1387757862503; Sun, 22 Dec 2013 16:17:42 -0800 (PST) Original-Received: from axl (93-2-98.netrun.cytanet.com.cy. [93.109.2.98]) by mx.google.com with ESMTPSA id b41sm40707211eef.16.2013.12.22.16.17.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 22 Dec 2013 16:17:41 -0800 (PST) In-Reply-To: <87bo08bivm.fsf_-_@flea.lifelogs.com> (Ted Zlatanov's message of "Sun, 22 Dec 2013 17:50:21 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::234 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:166745 Archived-At: Ted Zlatanov writes: > Anyhow, right now I do this in `cfengine3-mode': > > #+begin_src lisp > (add-hook 'completion-at-point-functions > #'cfengine3-completion-function nil t) > #+end_src > > Is that enough? I can recommend to users that they should enable the > `company-capf' backend in the cfengine.el docs, if so. Should be. As long as you can't (or don't indend to) support the more advanced features, such as showing candidate signature (when it's a function), its definition and documentation. No idea if any of that is even applicable to CFEngine. But you also might want to wait until the next Company version is released, and then only ask users to install it, without having to change the list of backends.