Search found 3 matches
- Sun Aug 03, 2008 10:46 am
- Forum: Emacs
- Topic: Indenting "HTML" S-expressions
- Replies: 6
- Views: 39090
Re: Indenting "HTML" S-expressions
Good. I'm sorry about my first example; I tried to keep it simple, but appearently overshot quite a bit...
- Sat Aug 02, 2008 5:41 am
- Forum: Emacs
- Topic: Indenting "HTML" S-expressions
- Replies: 6
- Views: 39090
Re: Indenting "HTML" S-expressions
Ok, consider this then: (:div :class "foo" (:div :class "bar" (:div :class "zot" ...))) After three DIV-tags its already indented 18 columns to the right. This also makes the HTML S-expressions less uniform; it would be slightly easier to read if they were always indent...
- Fri Jul 18, 2008 6:45 am
- Forum: Emacs
- Topic: Indenting "HTML" S-expressions
- Replies: 6
- Views: 39090
Indenting "HTML" S-expressions
A common method when working with HTML in Common Lisp seems to transform S-expressions to HTML such that (:h1 :class "foo" "Hello") => <h1 class="foo">Hello</h1> I like this method a lot, but the default indentation of Emacs/Slime bothers me: (:h1 :class "foo"...