Major modes

      Editing web pages

      Markdown

      Muse

      YAML

      Encrypted files

    Development

      Debian Packaging

Major modes

Editing web pages

We are using web-mode.el which is available from http://web-mode.org/.

Configuration as follows:


;; customizations
(defun my-web-mode-hook ()
  "Hooks for Web mode."
  (setq web-mode-markup-indent-offset 2)
)
(add-hook 'web-mode-hook  'my-web-mode-hook)

(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))

Markdown

Markdown mode

Muse

YAML

Use yaml-mode.

Encrypted files

In order to use EasyPG for transparent, automatic encryption and decryption add the following to your Emacs init file:

(require 'epa-file)
(epa-file-enable)

This assumes that you the use file suffix .gpg for your encrypted files.

Development

Debian Packaging

dpkg-dev-el

Emacs helpers specific to Debian development

elpa-go-mode

Go(lang) mode

elpa-markdown-mode

Markdown mode

elpa-muse

Muse mode

elpa-yaml-mode

YAML mode