From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Krishnakant Newsgroups: gmane.emacs.help Subject: help correcting web-mode configuration Date: Sun, 12 Mar 2017 12:37:46 +0530 Message-ID: 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 1489302512 20903 195.159.176.226 (12 Mar 2017 07:08:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2017 07:08:32 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 12 08:08:27 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 1cmxcA-0004kE-Js for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Mar 2017 08:08:26 +0100 Original-Received: from localhost ([::1]:45990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmxcE-0004YS-K4 for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Mar 2017 03:08:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmxbl-0004XF-TS for help-gnu-emacs@gnu.org; Sun, 12 Mar 2017 03:08:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmxbi-0000da-Kw for help-gnu-emacs@gnu.org; Sun, 12 Mar 2017 03:08:01 -0400 Original-Received: from lb1.openmailbox.org ([5.79.108.160]:60472 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmxbi-0000dT-CT for help-gnu-emacs@gnu.org; Sun, 12 Mar 2017 03:07:58 -0400 Original-Received: by mail.openmailbox.org (Postfix, from userid 20002) id D8F3B52421C; Sun, 12 Mar 2017 08:07:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1489302475; bh=hePHDRBN7wF7/6mu/4vhQegNlEt3kWNK4K029/61VEQ=; h=To:From:Subject:Date:From; b=CsL4ZN+702COCsgdLPNNQvvenhZhu6iX86CHPLSTkI0wuMClXBwD6T/kIv2V7a0JK FrTW0XBWbS5cWOZxoXGBSetZhg9DUYca3HUsWadfcWMgAbFNGmdgCBjIqAb+Pp6hqt s6ul+Uh4NEPT1UUhSwyw0yCxgoyh6L4PqzLE+NQk= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1489302475; bh=hePHDRBN7wF7/6mu/4vhQegNlEt3kWNK4K029/61VEQ=; h=To:From:Subject:Date:From; b=CsL4ZN+702COCsgdLPNNQvvenhZhu6iX86CHPLSTkI0wuMClXBwD6T/kIv2V7a0JK FrTW0XBWbS5cWOZxoXGBSetZhg9DUYca3HUsWadfcWMgAbFNGmdgCBjIqAb+Pp6hqt s6ul+Uh4NEPT1UUhSwyw0yCxgoyh6L4PqzLE+NQk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.79.108.160 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:112538 Archived-At: Hello all, I previously posted on this list regarding a similar issue. But I guess my explanation may be a bit confusing. So I will explain it again. Basically I have decided to use web-mode for my html and javascript work. I took the decision because I also use Python based tenplating languages like jinja. Here is my configuration part in context. (require 'web-mode) (require 'company) (require 'company-web-html) ; load company mode html backend (add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.js\\'" . web-mode)) (add-hook 'web-mode-hook '(lambda () ;; Company-mode (set (make-local-variable 'company-backends) (append company-backends '((company-web-html company-yasnippet)))) No matter what I do, the auto complete using company just does not work in web-mode. Also I am not able to get the auto tag completion working. Can some one help? Happy hacking. Krishnakant.