[SVN] REQ: commands choosing output

Eric Hsu erichsu at math.sfsu.edu
Sat Feb 19 18:02:38 UTC 2005


I was thinking about writing a command that would do the following. 
Take an HTML document, and push it through HTML Tidy. If there were 
errors, to pop them up in HTML form. If not, then have the tidied 
form replace the current document.  However, this would require the 
command to choose its output form depending on processing.

Perhaps a future TM could let commands set $TM_COMMAND_OUTPUT and 
tell TM how it prefers to be seen?

This might in general be the slickest way for commands to talk to TM, 
making special shell variables a two-way street.

- Eric
-- 
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu at math.sfsu.edu
http://math.sfsu.edu/hsu



More information about the textmate-dev mailing list