From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Init File Company-Mode Setup Date: Wed, 18 Jan 2017 23:34:47 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1484771896 3831 195.159.176.226 (18 Jan 2017 20:38:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2017 20:38:16 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Thunderbird/51.0 To: Ari King , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 18 21:38:12 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTwzQ-0007Z8-EL for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jan 2017 21:37:52 +0100 Original-Received: from localhost ([::1]:44150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTwzV-0003jP-83 for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jan 2017 15:37:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTwwY-0001mt-1P for help-gnu-emacs@gnu.org; Wed, 18 Jan 2017 15:34:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTwwV-0003Gw-Eo for help-gnu-emacs@gnu.org; Wed, 18 Jan 2017 15:34:54 -0500 Original-Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:35437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cTwwV-0003GB-6z for help-gnu-emacs@gnu.org; Wed, 18 Jan 2017 15:34:51 -0500 Original-Received: by mail-lf0-x242.google.com with SMTP id v186so3259253lfa.2 for ; Wed, 18 Jan 2017 12:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lwy8iOqV0mxSWZbuYlOE0uBz0FPam35cZMG1nV6rhd4=; b=BIY6yBYFt8qrcPyHG6+hINWJUB9mesmaY4+k4Ll7V2ZW0jxWHzPT9GP5yv8qgTDOIe TscdCdUbZBNHQudQHE9T0nKhaWqopHyI2y/jU/QFdPc8Oidn5XNgkldEV/ZHBaO79L+w a3yHTy6I3Gd/Zo2l2hk4nLqPKQuFAJlkuuanmX7EECBP6xIAAZMiqSOFpcCctVgL5gr4 pMHsY9ZT6f3iNRhketnqzrUE8RQdUk4TBDydjKEJMAysiX6BfaZZCZQaQaKYZM7dLOCn iUA0pIHUWrQxWJKNFZ8MEXarK5yR15EJ0EvTDfPse67/hgrdimtK81PfRgRILUqEfDzR z21w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lwy8iOqV0mxSWZbuYlOE0uBz0FPam35cZMG1nV6rhd4=; b=jtlywudJQA2X1y9nvcrD2c1TxJkfSOMAaPO66LL7ooPI8T7JV4oY1WOvbTq85DH2J3 NarjMVn4sZk7LzJkOpsZ6HDGKgYHhDyxe/3vJYbLt1nVZRc1UoUZY/3sT7yyJKQeyhHr dzZwbEV2Je0TXQMO7sj7U0+GhBMRFpTUtykIjHpVnQPBhu95mFb7cK/p1oZ+8DZd9wmm iIA8EYWZ1/+zH8N7NBg3+EQ27YIYbcfo5mVb4Mlx3MHkl2BElgZ25NBv7XOVpx/YU5/D cNm+/Jp+qKBiqZUMLmUl7QARY55Ct+j03vqh7CcPDmqjT3PU6xkOV8ww9VRk/GQo1TL0 HGnQ== X-Gm-Message-State: AIkVDXKLduCvbR4eDaMMNOMXxvJRECRCk+3zjtsPWHF4tfWKTLDg7VRbPjmxM+uccpOihQ== X-Received: by 10.25.24.156 with SMTP id 28mr1995652lfy.162.1484771689205; Wed, 18 Jan 2017 12:34:49 -0800 (PST) Original-Received: from [192.168.1.174] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 87sm795440lft.27.2017.01.18.12.34.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jan 2017 12:34:48 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::242 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112126 Archived-At: Hello! On 18.01.2017 23:26, Ari King wrote: > I'm trying to configure company-mode to activate in all buffers, with appropriate back-ends depending on file-type. To that end, I've added the following to my init.el file. > > ;; Enable global company mode > (require 'company) > (add-hook 'after-init-hook 'global-company-mode) > (setq company-idle-delay 0.1) > (setq company-minimum-prefix-length 1) > (setq company-backends '((company-capf company-files company-elisp company-inf-ruby company-anaconda company-go company-irony company-clang company-cmake company-css company-yasnippet) (company-dabbrev company-dabbrev-code))) The first thing to try is to remove company-yasnippet. See its docstring for an explanation. > However, regardless of which file-type I open, company-mode does not automatically activate. Help in sorting this out is appreciated. Second: please read this issue, including comments: https://github.com/company-mode/company-mode/issues/630 > Full init.el file is here: http://pastebin.com/eyvvzUPW I'm not going to run your init file, sorry.