What does it take to add a bundle to the distribution?
There's a decent community that's been writing a Puppet bundle, and I'd love to see it included.
-currently the bundle is managed via forks in github. We're trying to reintegrate the forks to build the One True Bundle. - as a part of that, it'd be nice to distribute it via the official channels.
Questions include:
What license is necessary?
Who manages them?
Thanks!
Matthew Barr
mbarr(a)mbarr.net
c: (646) 727-0535
So on my other Mac my git branch would show up in the title bar and was
pretty useful. I just downloaded
*2.0-alpha.9427*
on my new computer and it no longer shows the git information. What
happened to it?
Thank you,
Kyle Hanson
Dear Textmaters,
I'm a very unsophisticated Textmate-lover who upgraded recently to Textmate 2.
In Textmate 1.X I'd made some macros to jump to the beginning or end of a
sentence while editing text. Basically, they just search backward or
forward for a gerrymandered regex and move the cursor to the position
of the first match.
Now, when I imported these macros into Textmate 2, the jump-forward macro
works fine. But, the jump-backward macro behaves like the jump-forward
macro. I.e., when I run it, it seems to do "find next" rather than the
requested "find previous".
The code is pasted below.
If anybody could suggest an explanation or remedy I'd appreciate it!
Thanks,
Max
(
{ argument = {
action = 'findPrevious';
findInProjectRegularExpression = :false;
findString = '\S';
ignoreCase = :true;
regularExpression = :true;
replaceAllScope = 'selection';
replaceString = '';
wrapAround = :false;
};
command = 'findWithOptions:';
},
{ argument = {
action = 'findPrevious';
findInProjectRegularExpression = :false;
findString = '((\?|\.|\!)(\''|\"|\)|\}|\])*(\n|\t|\r|\s)+)|((\r|\n)\s)';
ignoreCase = :true;
regularExpression = :true;
replaceAllScope = 'selection';
replaceString = '';
wrapAround = :true;
};
command = 'findWithOptions:';
},
{ command = 'moveRight:'; },
)
Usually Perl gives me nice and helpful error messages. On my new Mini it's not. I installed newer Perl than Apple currently provide using perlbrew and have my shebang line:
#!/Users/justin/perl5/perlbrew/perls/perl-5.16.2/bin/perl
My perl programs report helpful debug messages at the command line, but when I hit Cmd+r to have TM run the program they look like this:
BEGIN not safe after errors--compilation aborted at /Users/justin/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/Carp/Heavy.pm line 3.
Compilation failed in require at /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support/exception_handler.pm line 30.
My TM_PERL variable is also:
/Users/justin/perl5/perlbrew/perls/perl-5.16.2/bin/perl
Reading through the exception_handler.pm file I see that line 30 is 'require Carp::Heavy…'. When I tried to install Carp/Heavy.pm using cpan it said that the module is up to date.
Any suggestions on what's not right here?
--
Justin C, by the sea.
It would also be easy to do using Obj-C, with the NSLinguisticTagger API:
http://developer.apple.com/library/ios/documentation/cocoa/reference/NSLing…
------------------------------
>
> Message: 2
> Date: Thu, 6 Jun 2013 07:31:55 -0500
> From: Phil Schumm <pschumm(a)uchicago.edu>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Find verbs and nouns
> Message-ID: <2F5211E5-CFDB-4621-9273-56BCF48658C5(a)uchicago.edu>
> Content-Type: text/plain; charset=us-ascii
>
> On Jun 6, 2013, at 4:58 AM, Ross Ahmed <rossahmed(a)googlemail.com> wrote:
> > Does TextMate have the ability to locate all verbs, nouns and adjectives
> in a body of text?
>
> On Jun 6, 2013, at 7:10 AM, Ross Ahmed <rossahmed(a)googlemail.com> wrote:
> > Do you know where I might find such a script?
>
>
> If it were me, I would do this with Python's Natural Language Toolkit (
> http://nltk.org). Specifically, the examples on this page show how easy
> it is to extract verbs, nouns and adjectives:
>
> http://nltk.org/book/ch05.html
>
> It would be very straightforward to write a small Python script that would
> use the NLTK to identify each of these types of words from a string, and
> then if you want call this from TextMate (e.g., passing the current window
> content as input).
>
>
> -- Phil
>
>
I'm at a loss here. I just set up my first Git repo.
I was playing around with the bundle and SCM tracking was working earlier today.
I had badges in my file browser and everything. Now, nothing.
Even my $TM_SCM_BRANCH variable is empty
(which is supposed to display in my title bar per my .tm_properties file.)
However, all Git commands work perfectly via the bundle commands.
I can execute commits, pushes, etc perfectly.
Am I missing something? Do I have to tell TM2 to start tracking?
I'm on the latest TM2 alpha.9427
Any direction you could give would be very helpful.
Thanks,
MIke
Hi, Guys.
Today I open my TextMate and I receive this message "TextMate is outdated!
You are using a preview TextMate 2 which is more than a month old. It will
stop working in 29 days.", but I don't know why? I'm using TextMate version
2.0-alpha.9419. Anyone can help me with this problem? I thought that was
TextMate 2 open source. I'm wrong?
--
*Diego Dias
*Analista Desenvolvedor
Microsoft Certified Applications Developer
Microsoft Certified Technology Specialist WCF .Net 4.0 - Charter
Member<http://www.microsoft.com/learning/en/us/certification/cert-program-membersh…>
11-8931.1768
I'm writing a bundle and I would like to add create some submenus.
I understand that the association, and ordering, of commands in bundle menus
is achieved via the `info.plist` property list for the bundle. New commands
are generated with an ID number that can be referenced in the `info.plist`.
Submenus also have ID numbers that appear in the bundle's `info.plist`.
However, these submenu ID numbers don't appear to be generated, or to
feature, elsewhere in the bundle.
My question is: how does one create the ID numbers for submenus in
`info.plist`? Would any random ID that is distinct from the others in the
`info.plist` do? What about collisions with numbers in other bundles? How do
folks usually generate these submenu ID numbers?
Final question: is there any faster way to manage menu structure of a bundle
other than fiddling by hand with `info.plist`?