<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Sorry, this was meant to go to the list.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div>Is there a similar rationale for not having delimiter-wrapped tags like in Haml? The exclamation points make things hard to read in any tag with more than a few attributes (say a form), so having *some* way of having whitespace attributes would be very beneficial. When I show some Hamlet code to people, the first reaction is a very pleased &quot;Oh, hello Haml&quot; followed by a confused &quot;what&#39;s with the exclamation points?&quot;<div>
<br></div><div>On an unrelated note, does anyone know how to make the web-devel list the default reply-to for emails in this list? It&#39;s hard to remember to make the changes in the headers required to not accidentally send a private email.</div>
<div><br></div><div><font color="#888888">Alexandros</font></div></span><br><div class="gmail_quote">On Sun, Dec 12, 2010 at 2:55 PM, Michael Snoyman <span dir="ltr">&lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sorry, forgot to reply to all...<br>
<div class="im"><br>
<br>
---------- Forwarded message ----------<br>
From: Michael Snoyman &lt;<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>&gt;<br>
</div><div class="im">Date: Sun, Dec 12, 2010 at 6:54 PM<br>
Subject: Re: [web-devel] proposal for hamlet-like syntax that is more<br>
compatible with html<br>
</div>To: Greg Weber &lt;<a href="mailto:greg@gregweber.info">greg@gregweber.info</a>&gt;<br>
<div><div></div><div class="h5"><br>
</div></div>I&#39;m actually thinking that a good first step on this proposal is<br>
simply adding the &lt;&gt; syntax in addition to what we already have. For<br>
example:<br>
<br>
%foo!bar=baz This is something<br>
<br>
is equivalent to<br>
<br>
&lt;foo bar=baz&gt; This is something<br>
<br>
Without introducing any other changes. I originally did not like the<br>
idea of &quot;two hamlets&quot;, but I&#39;m beginning to warm up to it as an<br>
intermediate step. I&#39;d even consider leaving both of them in there<br>
indefinitely, though I&#39;m not sure that&#39;s the best idea.<br>
<br>
I very much would *not* like to implement a proposal such as % and<br>
whitespace attributes, eg:<br>
<br>
%foo bar=baz&amp;This is something<br>
<br>
I don&#39;t like this for two reasons:<br>
<br>
1) It&#39;s almost, but not quite, what we have right now. I&#39;d much rather<br>
do a *big* change over to &lt;&gt; so that it&#39;s obvious that a change has<br>
occurred.<br>
2) I don&#39;t want to start gobbling up more symbols.<br>
<br>
I also am not really interested in using the percent sign for variable<br>
interpolation in Hamlet/Cassius: dollar sign is well established for<br>
this in many languages, and I only grudgingly used the percent sign in<br>
Julius because of jQuery.<br>
<br>
If I&#39;m not mistaken Greg, this means the part of your proposal which<br>
is being excluded by this proposal would be multi-line tags, is that<br>
correct?<br>
<font color="#888888"><br>
Michael</font></blockquote></div>