These are the changes I made to my “fork” of Executor, backported to the real library, as briefly discussed on IRC. Changes include: • A new option :version_replace to generate from the match against :version_regex via String#sub. The maude interpreter only prints the version number when invoked with --version, so the Maude bundle uses this option to prepend the language name to the result window subtitle. Default value is '\1', which substitutes the value that gets assigned to $1. • Passing the :input and :interactive_input options through to the underlying TM::Process.run invokation. The Maude bundle uses this to script the maude interpreter from the TextMate command, usually to wrap a command around the current word/selection. • Deactivating the interactive input library if the variable TM_INTERACTIVE_INPUT_DISABLED is defined. Allan requested this on IRC.
Feel free to point out if there is something wrong with the patches, or with their intent. The patch files have been generated with `git format-patch` so they can easily be applied with `git apply` inside a git-svn working copy, though vanilla `patch` should work as well. The patches on pastie: http://pastie.org/private/gjfjxwnokoei7p75havq Thanks, Martin
0001--Fully-qualify-call-to-TextMate-Process.run.patch
Description: Binary data
0002--Extract-parsing-of-hashbang-lines-into-a-method.patch
Description: Binary data
0003--Extract-parsing-of-version-output-into-a-metho.patch
Description: Binary data
0004--Add-version_replace-option-to-allow-mangling-of.patch
Description: Binary data
0005--Split-generation-of-the-Process.run-options-hash.patch
Description: Binary data
0006--Declare-input-and-interactive_input-as-additio.patch
Description: Binary data
0007--Set-interactive_input-to-false-if-TM_INTERACTIV.patch
Description: Binary data
_______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/listinfo/textmate-dev
