* [9fans] Acme - built in command; external command
@ 2018-04-27 10:36 dexen deVries
0 siblings, 0 replies; 2+ messages in thread
From: dexen deVries @ 2018-04-27 10:36 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
is it possible to execute built-in command
and external command with one mouse click in Acme?
something like: Putall; mk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] Acme - built in command; external command
@ 2018-04-27 13:07 Alex Musolino
0 siblings, 0 replies; 2+ messages in thread
From: Alex Musolino @ 2018-04-27 13:07 UTC (permalink / raw)
To: 9fans
Hi there,
It seems that it is *possible* but... Well, have a look at [1]. It
almost certainly will break in some cases. For starters, if a dirty
file is modified outside of acme it won't work; you'll have to clean
that up yourself. Also, grepping the tag for 'Put |' is a screaming
hack but acme doesn't expose all of the information you need to
implement Putall externally.
All in all, it's a lot of mucking around to save 1 mouse click. Just
place Putall and mk side-by-side in your tag and be done with it.
[1] http://musolino.id.au/up/PutallMk
--
Cheers,
Alex Musolino
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-27 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-27 10:36 [9fans] Acme - built in command; external command dexen deVries
2018-04-27 13:07 Alex Musolino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).