unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Fwd: company works with python-mode but not with web-mode after this configuration
       [not found] <74077f26-04d0-62a2-da89-12b46972ec54@openmailbox.org>
@ 2017-04-22 10:02 ` Krishnakant
  0 siblings, 0 replies; only message in thread
From: Krishnakant @ 2017-04-22 10:02 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org




-------- Forwarded Message --------
Subject: 	company works with python-mode but not with web-mode after 
this configuration
Resent-Date: 	Sat, 22 Apr 2017 05:57:10 -0400 (EDT)
Resent-From: 	emacspeak@cs.vassar.edu
Date: 	Sat, 22 Apr 2017 15:26:58 +0530
From: 	Krishnakant <krmane@openmailbox.org>
To: 	emacspeak <emacspeak@cs.vassar.edu>



Dear all,

I have now got pretty well attuned to configuring emacs.

Please look at the following snip it and clear my possible confusion.

(add-hook 'python-mode-hook 'electric-pair-mode)
(add-hook 'python-mode-hook 'linum-mode)
(add-hook 'python-mode-hook 'delete-selection-mode)
(add-hook 'python-mode-hook
   (lambda ()
     (setq indent-tabs-mode t)
     (setq python-indent 4)
     (setq tab-width 4)))


(add-hook 'web-mode-hook 'delete-selection-mode)
(add-hook 'web-mode-hook 'company-mode)
(add-hook 'web-mode-hook 'linum-mode)
(setq tags-table-list '("~/workspace/git/TAGS"))

Needless to say I gave both relevant snippets for Python and web-mode
for reference.

The issue is that while all is well with Python-mode, the same is not
working for web-mode in my case.

Can any one help point me out if any problem could be seen?

I know that web-mode enables company by default yet I have taken no chances.

I did add the call to add it for the web-mode hook.


Happy hacking.

Krishnakant.

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
subject of "unsubscribe" or "help".



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-22 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <74077f26-04d0-62a2-da89-12b46972ec54@openmailbox.org>
2017-04-22 10:02 ` Fwd: company works with python-mode but not with web-mode after this configuration Krishnakant

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).