From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ari King Newsgroups: gmane.emacs.help Subject: Init File Company-Mode Setup Date: Wed, 18 Jan 2017 12:26:53 -0800 (PST) Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1484771436 27744 195.159.176.226 (18 Jan 2017 20:30:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2017 20:30:36 +0000 (UTC) Injection-Date: Wed, 18 Jan 2017 20:26:54 +0000 User-Agent: G2/1.0 To: 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:30:32 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 1cTwsF-0006EI-4S for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jan 2017 21:30:27 +0100 Original-Received: from localhost ([::1]:44107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTwsG-0006tP-Va for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Jan 2017 15:30:28 -0500 X-Received: by 10.36.74.15 with SMTP id k15mr5118027itb.20.1484771214205; Wed, 18 Jan 2017 12:26:54 -0800 (PST) X-Received: by 10.157.43.215 with SMTP id u81mr658496ota.15.1484771214179; Wed, 18 Jan 2017 12:26:54 -0800 (PST) Original-Path: usenet.stanford.edu!r185no247062ita.0!news-out.google.com!78ni4867itm.0!nntp.google.com!r185no247057ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:bbaa:400:8467:f06e:bb72:edec; posting-account=AgcriAoAAAALFgWz3dMlnLI9LvRPraOd Original-NNTP-Posting-Host: 2a02:c7d:bbaa:400:8467:f06e:bb72:edec Original-Xref: usenet.stanford.edu gnu.emacs.help:219056 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:112125 Archived-At: Hi, 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))) However, regardless of which file-type I open, company-mode does not automatically activate. Help in sorting this out is appreciated. Full init.el file is here: http://pastebin.com/eyvvzUPW