From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sayth Renshaw Newsgroups: gmane.emacs.help Subject: Setup for web web-mode - stylus, jinja2, nunjucks Date: Sat, 4 Apr 2015 15:14:11 -0700 (PDT) Message-ID: <1deba68c-06e4-4988-9eb0-dc09ec1e8a05@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1428185719 16975 80.91.229.3 (4 Apr 2015 22:15:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Apr 2015 22:15:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 05 00:15:19 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YeWLW-0006dY-N3 for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Apr 2015 00:15:18 +0200 Original-Received: from localhost ([::1]:34504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeWLV-0002lR-Ls for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Apr 2015 18:15:17 -0400 X-Received: by 10.182.104.37 with SMTP id gb5mr10088136obb.45.1428185651812; Sat, 04 Apr 2015 15:14:11 -0700 (PDT) X-Received: by 10.50.129.98 with SMTP id nv2mr172299igb.1.1428185651762; Sat, 04 Apr 2015 15:14:11 -0700 (PDT) Original-Path: usenet.stanford.edu!l13no844742iga.0!news-out.google.com!db6ni7097igc.0!nntp.google.com!l13no844739iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=121.218.34.122; posting-account=5Cd8QAoAAAC6AxpkrISTgUBJ9ktgwNBm Original-NNTP-Posting-Host: 121.218.34.122 User-Agent: G2/1.0 Injection-Date: Sat, 04 Apr 2015 22:14:11 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:211260 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103542 Archived-At: Hi Is there a good guide or does anyone have a good setup and ideas on making emacs good for web development especially with templating languages and snippets. I have installed web-mode and yasnippet but cannot seem to get a good fluent flow or env happening for web dev. I mainly use python and javascript, stylus, jinja2 and nunjucks with them. There seem to be limited articles, guides on the web addressing this, maybe this isn't emacs usual go but I would love to get a great setup going. I use prelude, so small config, this is my.el (require 'discover) (global-discover-mode 1) (require 'py-autopep8) (add-hook 'before-save-hook 'py-autopep8-before-save) (require 'auto-complete) (global-set-key (kbd "C-:") 'ac-complete-with-helm) (define-key ac-complete-mode-map (kbd "C-:") 'ac-complete-with-helm) (add-to-list 'auto-mode-alist '("\\.html\\.flask\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) Sayth