all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Ari King <ari.brandeis.king@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Init File Company-Mode Setup
Date: Wed, 18 Jan 2017 23:34:47 +0300	[thread overview]
Message-ID: <a4648c06-f7e0-cb3e-dbc9-2256c5b6ced0@yandex.ru> (raw)
In-Reply-To: <f113c19d-22ee-44b9-acb2-df47d6ba84e8@googlegroups.com>

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.



      reply	other threads:[~2017-01-18 20:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 20:26 Init File Company-Mode Setup Ari King
2017-01-18 20:34 ` Dmitry Gutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a4648c06-f7e0-cb3e-dbc9-2256c5b6ced0@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=ari.brandeis.king@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.