Re: [9fans] tabstops

2012-11-16 Thread Juan Fuentes
I'm working a lot in Python and feel your pain, what I do is: X/.* / ,|tab -n 4 -u I normally work with several python files open in Sam, this has worked well for me. As already pointed out another solution is to run a script to do the conversion for you on a pre-commit hook.

Re: [9fans] tabstops

2012-11-16 Thread lucio
> or a script that does everything for you. Check-in functions in most version control systems allow you to run a script, so that may also be an option. ++L

Re: [9fans] tabstops

2012-11-16 Thread lucio
> anyone hacked sam to replace tabs with spaces or found a similar workaround? Would it not be most practical to hook tab(1) onto Sam's "w" command? ++L

Re: [9fans] tabstops

2012-11-16 Thread Nemo
or a script that does everything for you. you edit at one tree and Rin the script which copies to another replaces and submits. On Nov 16, 2012, at 12:37 PM, dexen deVries wrote: > On Friday 16 of November 2012 11:12:38 Steve Simon wrote: >> I am working on a project that insists on 4 space in

Re: [9fans] tabstops

2012-11-16 Thread dexen deVries
On Friday 16 of November 2012 11:12:38 Steve Simon wrote: > I am working on a project that insists on 4 space indentation of code. > > I can change the tabstop environment variable so I layout the code > how they want but I am still inderting tabs into my source. > > I can use russ's tab(1) to co

[9fans] tabstops

2012-11-16 Thread Steve Simon
I am working on a project that insists on 4 space indentation of code. I can change the tabstop environment variable so I layout the code how they want but I am still inderting tabs into my source. I can use russ's tab(1) to convert the tabs to whitespace before every checkin, but thats a bit pai