In the morning, the company had a power failure and could not connect to the server. So we just need some time to try Emacs.
At home this weekend, I read chapter 1 of Emacs lisp introduction. I accidentally thought that the apostrophe in Emacs is somewhat like a C language pointer. In fact, C language and lisp represent two styles. They are not compatible, but complementary styles. They are consistent in their origins.
Zen code is a shortcut for writing markup language, which is also implemented in Emacs. We can install corresponding plug-ins in Emacs.
1. Download the implementation of Zen code
2. Copy it to the appropriate directory.
In this example:. emacs. d/plugins/zencoding/
3. Add the following configuration to. emacs:
; Zen Coding
; 'Zencoding-expand-line bound to C-return
(Add-to-list 'Load-path "~ /. Emacs. d/plugins/zencoding /")
(Require 'zencoding-mode)
(Add-hook 'sgml-mode-hook' zencoding-mode); Auto-start on any markup Modes
Then you can use zencoding and use C-ret to bind to zencoding-expand-line to expand the zencoding expression.
For details:
Http://code.google.com/p/zen-coding/
Http://www.emacswiki.org/emacs/ZenCoding