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

Re: [9fans] Newbie question: I have a plan9 system running on

2012-11-16 Thread keystroke
Damn, google eat my post again. The problem is solve. Using ftpserver on xp, and ftpfs to mount the dir. Although it's really slow, it works. Many thanks to you folks.

Re: [9fans] com: comments toggle in acme

2012-11-16 Thread Mark van Atten
Thanks, indeed! I added two lines so it can be used with Latex files too: case *.tex c='%' Mark.

Re: [9fans] com: comments toggle in acme

2012-11-16 Thread Martin Kühl
On Fri, Nov 16, 2012 at 5:16 AM, <6o205z...@sneakemail.com> wrote: > BTW, I know what fmt is, but what do a- and a+ do? indentation and un-indentation. http://9fans.net/archive/2008/09/71