From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jens Teich Newsgroups: gmane.emacs.help Subject: Re: Indentation for html-mode Date: Sun, 13 Apr 2008 22:32:02 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208120557 28653 80.91.229.12 (13 Apr 2008 21:02:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2008 21:02:37 +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 13 23:03:01 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jl9Lm-0002Tn-Mq for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2008 23:02:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jl9L8-0007Vd-OS for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2008 17:02:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: individual.net tHI4gvXq9WbiXNTjp5S1DwlMD2LYDHGAvN4LZqdXsxV/llSURU Cancel-Lock: sha1:WoB99aCmp/E7kzrq6fzjmTsGnH0= sha1:slBYaUUg0do0wmFT+NaZ0SkLtGE= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (darwin) Original-Xref: shelby.stanford.edu gnu.emacs.help:157903 X-Mailman-Approved-At: Sun, 13 Apr 2008 17:02:03 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53271 Archived-At: Chris McMahan writes: > I think the current mode is behaving correctly. The indentation is to > reflect which elements are parents and children in this case. > Indenting the tag after the comments would imply to me that the > is a child of the comment, which in turn is a child of the > tag. Definitely html-mode treats the the comments correctly. This is out of question. But here the comments are combined with other meanings which are not visible when looking at the document with html view. They are template designers for looping or conditional constructs, so here are sort of two languages in one document. > Are you sure you want the comments indented like you described? Not desperately, just curious. Jens