So, punctuation always delimits in some way, but we also want to have some indication of it's real use... at the same time we want to indicate the textual manner in which the punctuation is used.  Maybe splitting the scope's second and thir levels up into 
syntax.function makes sense - as in:<br><br>* punctuation.section.(quote|paragraph|comment|scope|function|etc)<br>    <br>    The start/end of a structured section of some sort (comment, paragraph, opening and <br>    closing braces in code, etc).  Any potentially large (multi-lined?) section that can 
<br>    be described as serving a single function.  Could possibly become <br>    punctuation.block.begin.foo and punctuation.block.end.foo, but I'm not sure there is a <br>    real use in such specificity (especially since there is not always a literal end).
<br>    <br><br>* punctuation.separator.(valuepair|list|arguments|etc)<br><br>    Any punctuation intended to separate two internal parts of a logical whole.  This <br>    includes key/value pairs in things like HTML/XML/YAML (but not true assignment), as 
<br>    well as items in a literal list ([1, 2, 3]).<br><br>* punctuation.definition.(string|table|array|token|header|list|etc)<br><br>    Punctuation that is intended to delimit the bounds of a single item, generally <br>
    something that will become a real singular object in compiled/interpreted code.  Can <br>    also be used in markup languages for delimiters that define small conceptual units <br>    (headers, list items, etc).<br><br>
* punctuation.terminator<br><br>    Punctuation that terminates a statement, rule, line, etc. (the ; in [print "foo\n";])<br><br>* punctuation.other...<br><br>    Every scope needs an other.  There are simply too many languages and too many uses to 
<br>    be confident that a set second level will capture everything appropriately.  It should, of course<br>    be highly limited in its use.<br>    <br><br>For clarity - I'm including the remainder of the old definitions and where I see them slotting in this system:
<br><br> * punctuation.delimiter.comment - bit of an outlier (inline vs. block) but can probably be reasonably handled as punctuation.section.comment<br> * punctuation.delimiter.embedded - punctuation.section.embedded<br>
 * punctuation.delimiter.group - punctuation.definition.group (punctuation.definition.regexp.group)<br> * punctuation.delimiter.markup.header - punctuation.definition.header<br> * punctuation.delimiter.markup.item - punctuation.definition.list
,item, etc<br> * punctuation.delimiter.markup.table.(column|row) - punctuation.definition.table.row,col<br> * punctuation.delimiter.section.(rule|function|etc) - punctuation.section<br> * punctuation.delimiter.separator.argument
 - punctuation.separator.argument<br> * punctuation.delimiter.separator.relationship - punctuation.separator.relationship<br> * punctuation.delimiter.string - punctuation.definition.string<br> * punctuation.delimiter.tag - 
punctuation.definition.tag<br> * punctuation.delimiter.markup.image - punctuation.definition.link.image<br><br><br><br><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Michael Sheets</b> <<a href="mailto:mummer@whitefalls.org">
mummer@whitefalls.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> 1.  I don't really see the difference between
<br>> "punctuation.delimiter.block" and "punctuation.delimiter.section".<br>> I'm in favor of collapsing "section" into "block", since "block"<br>> sounds nicer.<br>
<br>I'm leaning in this direction, should simplify things a bit.<br><br>> 2.  I'm of the opinion that "punctuation.delimiter" is actually<br>> redundant.  It seems obvious to me that punctuation characters are
<br>> used to delimit things.  Do we really need excessively wordy scope<br>> names?  "punctuation.delimiter.separator" is even more redundant.<br><br>Realistically I'm against this, but I think it may be best usability
<br>wise. Played around a bit with them tonight:<br><br>punctuation.delimiter.embedded.comment.django-template<br><br>That's quite long, really getting too unwieldy to be practical. Think<br>I'll be removing .delimiter<br>
<br>> 3.  How would you scope the single quotes in a single-quoted Erlang<br>> atom (equivalent to a Lisp or Ruby symbol)?  'This is an example'.<br>> Note that this definitely has nothing to do with a string.<br>
<br>Still havn't figured this out; humph.<br><br><br><br>_______________________________________________<br>textmate-dev mailing list<br><a href="mailto:textmate-dev@lists.macromates.com">textmate-dev@lists.macromates.com
</a><br><a href="http://lists.macromates.com/mailman/listinfo/textmate-dev">http://lists.macromates.com/mailman/listinfo/textmate-dev</a><br></blockquote></div><br>