From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Tolpin Message-Id: <200401101420.i0AEKcfJ018210@adat.davidashen.net> Subject: Re: [9fans] Sam's protocol description? In-Reply-To: <052401c3d7d7$67989820$0a01a8c0@SOMA> To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Date: Sat, 10 Jan 2004 18:20:38 +0400 Topicbox-Message-UUID: b6da8258-eacc-11e9-9e20-41e7f4b1d025 > > 2 spaces good. 8 spaces better. > > s/8 spaces/tab/ You did not understand my intent. autoindent is not a space smashing stuff. Autoindent is a feature which places the cursor under the first non-space character of the previous line. It works with any way of indents' styling; whether they are 8 or 2 or tabs or spaces. The 'space smashing stuff' you see in the patch is meant to decrease the traffic between sam and samterm, while your proposal does the opposite. Hope this helps. I find it convenient to have editor do it for me; samterm does a handful of similar things, such as Ctrl-U, Ctrl-W and parentheses matching. I think it is natural to have autoindent too. Hope this helps. David Tolpin http://davidashen.net/