[SVN] [Patches] TM::Executor additions

Martin Kühl martin.kuehl at gmail.com
Wed Mar 25 18:45:07 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001--Fully-qualify-call-to-TextMate-Process.run.patch
Type: application/octet-stream
Size: 1058 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002--Extract-parsing-of-hashbang-lines-into-a-method.patch
Type: application/octet-stream
Size: 1191 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003--Extract-parsing-of-version-output-into-a-metho.patch
Type: application/octet-stream
Size: 1475 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004--Add-version_replace-option-to-allow-mangling-of.patch
Type: application/octet-stream
Size: 3000 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005--Split-generation-of-the-Process.run-options-hash.patch
Type: application/octet-stream
Size: 2040 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006--Declare-input-and-interactive_input-as-additio.patch
Type: application/octet-stream
Size: 965 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007--Set-interactive_input-to-false-if-TM_INTERACTIV.patch
Type: application/octet-stream
Size: 2488 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate-dev/attachments/20090325/01f75d88/attachment-0006.patch>


More information about the textmate-dev mailing list