Re: [9fans] acme/sam linewrapping off

2008-03-25 Thread Rudolf Sykora
I understand that a speadsheet would solve the situation, but... Vim has always been sufficient for the task I described, having that one particular feature. If acme were able of the same, it would suffice me as well... Ruda On 24/03/2008, Robert Raschke [EMAIL PROTECTED] wrote: On 3/23/08,

Re: [9fans] acme/sam linewrapping off

2008-03-25 Thread Hongzheng Wang
On Tue, Mar 25, 2008 at 3:33 PM, Rudolf Sykora [EMAIL PROTECTED] wrote: I understand that a speadsheet would solve the situation, but... Vim has always been sufficient for the task I described, having that one particular feature. If acme were able of the same, it would suffice me as well...

Re: [9fans] acme/sam linewrapping off

2008-03-25 Thread Charles Forsyth
Well, [EMAIL PROTECTED] could definitely be a choice. But, doesn't it go against the basic philosophy ... ??! the response here usually follows these steps: (1) at most a mild suggestion to try using the system somewhat as intended (2) ignoring it this is in contrast to affirmative-action

Re: [9fans] acme/sam linewrapping off

2008-03-25 Thread Rudolf Sykora
I haven't said that to use Vim is bad. Vim is my most favourite editor. I am myself happy to have Vim around in Plan9 (and am not alone for sure). Nonetheless, it's bad to not have an alternative which would follow the system's principles. Please read all I mentioned before. Vim does not follow

Re: [9fans] acme/sam linewrapping off

2008-03-25 Thread Rudolf Sykora
Thanks, I'll read it and see if it can be of help R On 25/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hola, i think you can take other approaches to solve your problems instead of using vim, or making acme behave like vim. see what others have done with acme:

Re: [9fans] acme/sam linewrapping off

2008-03-25 Thread Skip Tavakkolian
have you considered using sam to break each line into multiple lines and then rejoining. e.g. if you have a | separated record structure, you could do something like: ,x/^.*\n/ { s/\|/\n/g s/\n/\n\n/ } edit the fields, then rejoin before writing it back: ,y/\n\n/ x/\n/ c/|/ ,x/\n\n/ c/\n/

Re: [9fans] acme/sam linewrapping off

2008-03-23 Thread erik quanstrom
Is there any way how to sensibly edit a file with long lines (eg. a table with many fields, like /sys/lib/lp/devices) using acme/sam? What I miss is a way to not wrap long lines when I need to concentrate on the different fields and a whole single line is a true representative of an item (a

Re: [9fans] acme/sam linewrapping off

2008-03-23 Thread erik quanstrom
Thanks for the answer, although it did not please me... :( (In Vim, you only have to do :set nowrap and you are done... From time to time I find this rather useful.) Ruda it's unreasonable for the lp configuration file to need lines 200 characters long. i would think it would make more sense