all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny YUE <sheepduke@gmail.com>
To: Krishnakant <krmane@openmailbox.org>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>,
	Danny YUE <sheepduke@gmail.com>
Subject: Re: help correcting web-mode configuration
Date: Sun, 12 Mar 2017 23:18:15 +0800	[thread overview]
Message-ID: <87inneo760.fsf@gmail.com> (raw)
In-Reply-To: <743dad19-dd29-7c05-b93c-53a2e6d3dd0e@openmailbox.org>

Seriously, have you checked the manual? ;-)

There are 2 variables that may be related to this:
`company-minimum-prefix-length' controls how many characters you have to
type before company-complete is invoked.

`company-idle-delay' controls the delay you will wait before auto
completion.

Please check the value of these 2 variables and modify them to some
valid number, e.g. 2 characters with 0.5 second delay.


Danny


On 2017-03-12 15:10, Krishnakant <krmane@openmailbox.org> wrote:
> On Sunday 12 March 2017 06:56 PM, Danny YUE wrote:
>> But it seems to be correct, isn't it?
>>
>> Because anyway the company-mode returns something that seems
>> reasonable. What's exactly your problem now?
>>
>> The completion does not start automatically or something?
>>
>>
> Yes completion does not start automatically.
> I can do M-x and type company-web-html to get completion done.
> I can also set it to a keyboard shortcut, but I expected that my
> completion starts after I type 4 characters (that's what I have set for
> completion ).
>
> So this is precisely the problem.
> Happy hacking.
> Krishnakant.



  reply	other threads:[~2017-03-12 15:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-12  7:07 help correcting web-mode configuration Krishnakant
2017-03-12  8:39 ` Danny YUE
2017-03-12 10:17   ` Krishnakant
2017-03-12 10:27   ` Krishnakant
2017-03-12 12:27     ` Danny YUE
2017-03-12 12:43       ` Krishnakant
2017-03-12 13:26         ` Danny YUE
2017-03-12 15:10           ` Krishnakant
2017-03-12 15:18             ` Danny YUE [this message]
2017-03-12 18:23               ` Krishnakant
2017-03-13  3:17                 ` Danny YUE
2017-03-18  7:04                   ` Krishnakant

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=87inneo760.fsf@gmail.com \
    --to=sheepduke@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=krmane@openmailbox.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.