<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I'm working with an open-source Java project that uses the so-called "mixed" mode for indentation. This is the convention popularized by Emacs where indentations are (say) 4 spaces but tab characters expand to 8 spaces. Unfortunately, TextMate does not support this mode, as discussed previously [1]. There is a script that converts between mixed mode, but it appears to be manual [2], which won't work in my case. (I'd have to run the conversion every time I open and save a file.)<DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">So, I need a better solution to get around TextMate's lack of support for mixed mode. I was thinking about submitting a patch upstream that would simply get rid of mixed mode and instead use Java's standard convention [3], but then I noticed that it apparently <I>recommends</I> mixed mode!</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>"Four spaces should be used as the unit of indentation. The exact construction of the indentation (spaces vs. tabs) is unspecified. Tabs must be set exactly every 8 spaces (not 4)."</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Am I reading that right? Does Java's coding standard recommend mixed mode indentation? What are TextMate users to do in this situation?</DIV><DIV><DIV><DIV><DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Trevor</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>[1] <A href="http://comox.textdrive.com/pipermail/textmate/2004-December/002053.html">http://comox.textdrive.com/pipermail/textmate/2004-December/002053.html</A></DIV><DIV>[2] <A href="http://comox.textdrive.com/pipermail/textmate/2006-November/015565.html">http://comox.textdrive.com/pipermail/textmate/2006-November/015565.html</A></DIV><DIV>[3] <A href="http://java.sun.com/docs/codeconv/html/CodeConventions.doc3.html">http://java.sun.com/docs/codeconv/html/CodeConventions.doc3.html</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV></DIV></DIV></DIV></DIV></BODY></HTML>