From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 25 May 2010 14:13:51 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: <10caf3b0e93d00aa4a59d7f28275edc9@9netics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [9fans] Acme Mail Topicbox-Message-UUID: 2a0b7e7c-ead6-11e9-9d60-3106f5b1d025 > 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:: !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); ☺