<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>First of all, thank you very much for the quick response. It's obviously not what I wanted to hear, but appreciated. And now I know it wasn't just me being stupid all this time!<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I'm a little heartened to hear that this is something you're looking at now. If there's any way I can help encourage you along these lines, let me know! My first thought regarding your proposed solution is that it seems like helping the cases you can, even if not perfect, is a
good thing. And I may be missing something (?), but it seems like a register system like you're describing would be at least "more helpful" in virtually all cases, no?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I don't know that it matters, but FWIW, I'm new to the list, but a paid user since long ago...<br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Allan Odgaard
<mailinglist@textmate.org><br> <b><span style="font-weight: bold;">To:</span></b> Peter Rando <peter.rando@yahoo.com>; TextMate users <textmate@lists.macromates.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, April 21, 2013 10:21 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [TxMt] Question about indentation<br> </font> </div> <div class="y_msg_container"><br>On Apr 22, 2013, at 3:21, Peter Rando <<a ymailto="mailto:peter.rando@yahoo.com" href="mailto:peter.rando@yahoo.com">peter.rando@yahoo.com</a>> wrote:<br><br>> I've used Whitesmith bracing style for *decades*, and had it kinda-sorta working in TM 1.5.x, though not perfectly. Now I've lost those old settings and for the life of me can't figure out how to get it even close in 2.0 […]<br><br>This style can’t be expressed with the current classification patterns.<br><br>The best approximation is probably to remove { and }
from the default patterns.<br><br>> Also, just as a general suggestion, it seems like it would be really helpful to have just a handful of "packaged" example indentation rules for the small handful of common bracing styles, i.e. Allman, K&R, Whitesmith, maybe Gnu.<br><br>The default pattenrs are compatible with both Allman and K&R. Neither Whitesmith nor Gnu can really be expressed ATM.<br><br>I’ve been considering ways to improve the indentation system, an obvious improvement would be to drop the somewhat arcanely named classification patterns and instead use a register based system where a match can add/subtract to a register, where a register represents the indent of the current line, future lines, or a “carry register”.<br><br>However, the biggest problem with the indent system is hard-wrapped lines and lisp-like languages, so while the above might be a nice improvement, it’s not really solving the real
issue.<br><br><br><br></div> </div> </div> </div></body></html>