From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <297c1afb3ee490d7adf706a6a397fb76@telus.net> Content-Transfer-Encoding: 7bit From: Paul Lalonde Subject: Re: [9fans] Long tags in acme Date: Mon, 14 Mar 2005 17:17:26 -0800 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 250f147a-ead0-11e9-9d60-3106f5b1d025 I lied. I didn't do the other work I should have been doing. Here's a patch that adds the Expand toggle, if anyone else wants it. Paul Index: exec.c =================================================================== RCS file: /cvs/plan9/src/cmd/acme/exec.c,v retrieving revision 1.20 diff -r1.20 exec.c 23a24 > void togexp(Text*, Text*, Text*, int, int, Rune*, int); 79a81 > static Rune LExpand[] = { 'E', 'x', 'p', 'a', 'n', 'd', 0 }; 89a92 > { LExpand, togexp, FALSE, XXX, XXX }, 969a973,986 > togexp(Text *et, Text *_0, Text *_1, int _2, int _3, Rune *_4, int _5) > { > int colidx, winidx; > dodollarsigns = !dodollarsigns; > for(colidx = 0; colidx < row.ncol; ++colidx) > { > for(winidx = 0; winidx < row.col[colidx]->nw; ++winidx) > { > winsettag(row.col[colidx]->w[winidx]); > } > } > } > > void On 14-Mar-05, at 4:57 PM, Paul Lalonde wrote: > This seems not bad; but it still needs the $env trick: Try editing > deep in a tree like /Users/plalonde/dev/tuna/RT/contingency/... and > you quickly find yourself wasting most of the tag space, which > multi-line doesn't help: you still wind up with piles of tag you wish > you could put to better use. > A useful thing would be to expose the $env expansion switch on a verb, > maybe Expand or somesuch, for those times when you do need to see the > path. > I have a partial hack done for this, but now have to figure out how to > re-interpret and update all the tags; I have other work to do before > that. > > Paul > > On 14-Mar-05, at 4:11 PM, andrey mirtchovski wrote: > >>> I already hate the little >>> window handles, >> >> how about a resize-able window titlebar? i.e. you can make it as >> many lines as you want to accomodate all your text by just dragging >> the lower line of the titlebar. >> >