Recently I was appointed to become the maintainer of the zen-coding plugin for Emacs after I submitted several patches for it. What the patches do:
- #id and .classes can now be used without specifying the tag name (it will default to div).
- Automatically self-close self-closing tags (br, img, input) except if it has child(ren). The latter is useful when you are writing xml that happens to have tags named br/img/input.
- Support for quoted attribute value (E attr=”value”), useful if the attribute value contains special characters, such as parentheses.
- Tag expander syntax support (E+) automatically expands tags that have obvious children (table, ol, ul, dl). For example ul+ will be expanded to <ul><li></li></ul>.
- Improved formatting (indentation and newlines).
- Added filters support. Implemented filters (other than html) are:
- c (comments for elements with #id or .classes).
- hic (clojure’s hiccup).
- e (escape xml-unsafe characters < > and &).
If you are writing html/haml/hiccup using Emacs, you might find the plugin useful. Check it out. Contributions are welcomed.