From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mod.civil.su.OZ.AU ([129.78.142.6]) by hawkwind.utcs.toronto.edu with SMTP id <2745>; Sun, 13 Dec 1992 22:57:27 -0500 Received: by mod.civil.su.oz.au id <28680>; Mon, 14 Dec 1992 14:57:02 +1100 From: John (I don't want no teenage queen / I just want my M-fourteen) Mackin Date: Sun, 13 Dec 1992 22:47:48 -0500 To: Scott Schwartz cc: Sam Fans Subject: Re: how to shrink dot In-Reply-To: <92Dec13.215944est.2516@groucho.cs.psu.edu> Message-ID: <199212141447.5855.sam.babom@civil.su.oz.au> X-Face: 39seV7n\`#asqOFdx#oj/Uz*lseO_1n9n7rQS;~ve\e`&Z},nU1+>0X^>mg&M.^X$[ez>{F k5[Ah<7xBWF-@-ru?& @4K4-b`ydd^`(n%Z{ Scott and I are talking about shrinking dot. At first, I wanted to change the indentation of the stuff in between the inner braces in something like for (..) { for (..) { stuff } } where it was easier to double click on the brace than sweep out exactly the right lines. You don't need to shrink dot for this to work. This was the kind of thing I thought you would have in mind. All you have to do is to pick the whole lines first. Try this, tested in the very sam I am writing this mail in: Snarf this command, then double-click inside the first brace, change to the sam window and send: x/^.*$/ x/^/a/ / As you can see, it works on the inner lines only, as we want. More generally, it is easy to select a region with delimiters, but it you want to process the stuff between the delimiters you have to exclude them from dot. I don't understand this. When you use double-click to `select a region with delimiters' sam _does_ exclude them from the selection: there is no way to get it to _include_ them. Maybe you mean if you are using an x command -- can you give me another concrete example? OK, John.