all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jens Teich <spamtrap@jensteich.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Indentation for html-mode
Date: Sun, 13 Apr 2008 22:32:02 +0200	[thread overview]
Message-ID: <m2tzi5iji5.fsf@jensteich.de> (raw)
In-Reply-To: uwsn1fuw1.fsf@one.dot.net

Chris McMahan <first_initiallastname@one.dot.net> 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 <tr> tag after the comments would imply to me that the
> <tr> is a child of the comment, which in turn is a child of the
> <table> 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


      reply	other threads:[~2008-04-13 20:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-13 11:23 Indentation for html-mode Jens Teich
2008-04-13 12:38 ` Lennart Borgman (gmail)
     [not found] ` <mailman.10322.1208090292.18990.help-gnu-emacs@gnu.org>
2008-04-13 17:32   ` Jens Teich
2008-04-13 20:44     ` Lennart Borgman (gmail)
2008-04-13 18:54 ` Chris McMahan
2008-04-13 20:32   ` Jens Teich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2tzi5iji5.fsf@jensteich.de \
    --to=spamtrap@jensteich.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.