> You can't just change what's in the window AFAIK. That's a reflection
> of state, not the state itself.

Mail's inspection of the selection confused me
try typing (deleted- in front of a message. now
try deleting it by selecting that line and b2ing
Delmesg.

Nothing happens.

i can't find the discussion, so i hope this isn't
a repeat of wild speculation.

it would be cool if acme had an edit command
that would allow the executation of an
acme command on the given selection.  suppose
!|<> executed acme commands rather than plan
9 commands.  then you could have

        Edit X:/mail/fs: ,x:^.*$: g:<u.example.com>: !Delmsg

- erik

p.s. don't try substituing | for ! in the above command:
qunlock called qith qlock not held , from 0x1f350.

/sys/src/cmd/acme/wind.c:165
 160             */
 161            f = w->body.file;
 162            for(i=f->ntext-1; i>=0; i--){
 163                    w = f->text[i]->w;
 164                    w->owner = 0;
>165                    qunlock(w);

☺

Reply via email to