Re: (am i)/(i am) missing something


To wilyfans@jli.com
From Gary Capell <gary@staff.cs.su.oz.au>
Date Thu, 07 Sep 1995 15:51:10 +1000
Sender owner-wilyfans@jli.portland.or.us



In message <m0sqYMX-00004yC@cloud.rain.com
>,    Bill Trost writes:
>       Zerox  Create   a  copy  of  the  window  containing  most
>              recently selected text.
>I suspect this is a new feature, as I don't recall seeing it in the
>acme (usenix?) paper.

Yup.  Grab Plan 9 and play with acme (but stay away from its source).

>My feeling is that implementing this in acme would be difficult; then
>again, Sam does it, and it uses the same library (libframe, but not
>libtext), so maybe it isn't so bad.

It won't be easy.  Particularly, it won't be easy to avoid complicating
much of the existing code.

>I'm more concerned about how to handle selections larger than a pane.
>Acme handles that by scrolling the text when the cursor moves out of
>the pane, but my attempts at that have been pretty ugly (that is,
>illegible) for the most part.

Go, Bill, go!

>Address ranges (like ":1,$") would help
>some, but it's still a pane.

Yup.  In Sam, I mostly use the marker ('k' command) if I want to
make a large selection, so a 'Mark' builtin might be the go here
(which would select from the previous Mark to t->p0, and setting Mark.

Actually, this sounds pretty simple, I'll do it RSN.

>Maybe Zerox could function as a
>workaround for that problem, too, by permitting interpane drags.

Smacks of devil-worship, to me.



Partial thread listing: