unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Company - idle completion not working
Date: Fri, 18 Apr 2014 20:29:43 +0400	[thread overview]
Message-ID: <87bnvy4n48.fsf@yandex.ru> (raw)
In-Reply-To: <87fvlafwzv.fsf@gmail.com> (Thorsten Jolitz's message of "Fri, 18 Apr 2014 18:00:52 +0200")

Thorsten Jolitz <tjolitz@gmail.com> writes:

>>> | (when (try-require 'company)
>>> |   (add-hook 'after-init-hook 'global-company-mode)
>>> |   (setq company-begin-commands '(self-insert-command))
>>
>> If you're typing the text you mentioned in an org-mode buffer, the above
>> line is likely the problem.
>>
>> See https://github.com/company-mode/company-mode/issues/91, for example.
>
> The funny thing is that it actually works in Org-mode but not in

That sounds implausible: the reverse was true for the reporter of the
bug linked above, org-mode rebinds `self-insert-command' to
`org-self-insert-command', `company-begin-commands' is consulted when
deciding whether to initiate idle completion.

> emacs-lisp-mode or the scratch buffer.

Works for me. Please file a proper bug report, with a recipe starting
with `emacs -Q'.



      reply	other threads:[~2014-04-18 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18 13:12 Company - idle completion not working Thorsten Jolitz
2014-04-18 13:53 ` Dmitry Gutov
2014-04-18 16:00   ` Thorsten Jolitz
2014-04-18 16:29     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87bnvy4n48.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tjolitz@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).