well, I'm glad to see thomas tackle bundleforge ;)
IMO, the most important thing actually is allowing for easy sharing of a
bundle and quick updating of the installed bundles -- ideally just a couple of
mouse clicks. easy bundle setup is trivial, and the rest is if secondary
importance: the focus of the server-side development should thus be on sharing
and updating.
then of course you need to take care of the UI, but I'm sure you know better
than me how to handle that! ;)
three good reasons:
* the GetBundle bundle is a solid foundation;
* in the community there is no shortage of server-side programming skills
and, most of all
* we have ten (10!) weeks without an official release, so that we can tinker
with BundleForge!
so... why don't we start doing something? :P if there's any amount of python
code involved, I'm ready to help!
Hello,
I am a plain textmate user and a complete computer/programming illiterate who
searches advice and input from other, potentially more experienced users of
textmate. When writing latex based papers using the wonderful latex bundle I
frequently want to do a quick and simple calculation. Unfortunately, this often
involves other formats than those provided by the existing math bundle and I
have to invoke an external calculator. Would it be possible to extend the math
bundle to normal calculator capabilities? IE providing
exponential/logarhithmic,
power function, trigonometric functions, numbers in ecponential notation
etc. ?
I don't know whether others miss this feature. I would certainly welcome
such extended functionality or some experienced guidance how to achieve the same
functionality with existing bundles. Using the R bundle I tried to send commands
to R, which I found very slow (and not what I would find useful), and also to
execute R on the selection, but only to the effect of receiving an error
message.
JJ
I am the maintainer of the C Library Bundle. I have removed it from
the repository until a better solution can be found. I apologize for
the trouble I have caused, I was unaware of the current practice of
discussing new bundle before adding them to the main repository and
committed my changes without thinking. It was not my intention to
offend any part of this excellent community.
My heartfelt gratitude to those of you who defended me on this list.
I hope that the C Library bundle (or a better replacement) can be
made available to those who may find it useful. If any of you would
like a copy, please contact me and I will make it available (probably
on my .Mac account).
Sincerely,
Steph
I would think this might work:
tell application "TextMate" to activate
tell application "System Events"
tell process "TextMate"
tell menu bar 1
tell menu bar item "Bundles"
tell menu 1
tell menu item "ActionScript"
tell menu 1
tell menu item "Test Movie"
perform action "AXPress"
end tell
end tell
end tell
end tell
end tell
end tell
end tell
end tell
But it seems to give no response. Anyone know how I might do this?
Thanks,
Ben
Hello,
I'm not sure who this stephen fellow is (he's not listed in the wiki
[list of aliases][alias]), but he just committed an absolute monster of
a bundle to the subversion repository, in the form of a "C Library"
bundle consisting of 1299 snippets, each of which takes the name of a
function as a tab trigger, and then fills in a skeleton body for that
library function. I have a few notes about this.
[alias]: http://macromates.com/wiki/Main/Aliases
1. This doesn't really follow Allan's recently posted [style guide][sg]
for bundles, which clearly explains how bundles should be constructed.
Though, to be sure, that style guide needs to be a lot clearer about
what *not* to do. Of note: this bundle falls in the "what not to do"
category.
2. There are a few recently added code completion commands which work
much better, don't require the user to remember the whole function name,
only require one menu item, instead of 1299, don't clog up menus (in
fact they can just be added to the language bundle instead of requiring
a specialized bundle just for snippets), and are pretty much better in
every way.
3. Note: Snippets ARE NOT DESIGNED for GENERIC CODE COMPLETION. This is
not their purpose, and if you do want to use them this way, you should
keep such monstrosities in your personal bundles, and not pollute the
subversion repository with them. If you absolutely positively must
distribute such things, please do it on your own server.
4. Yes, there are similar things in existing bundles, which should be
excised. This includes the OCamlCodeCompletion bundle, and the recently
added ColdFusion bundle. Hopefully something will be done about these soon.
5. I hope it becomes slightly easier to make generic completion commands
in the future, because at the moment, I'm not sure it can be done by a
complete newbie, and it's a useful enough feature that it would be nice
to give even new users such power. Allan is hopefully considering such
things for TextMate 2.0.
6. I'm going to remove this new bundle tomorrow if there isn't a very
compelling reason not to. If anyone wants to pitch in a code completion
bundle which does the same thing, only better, I'm sure the C coders who
use TextMate would be overjoyed. Hopefully it could be made in a
general enough fashion to read in arbitrary new header files (like the
ones included in the current «foo».c file, that is), and complete on
those functions, as well as functions in the usual C libraries (all the
stuff like malloc and printf etc. etc.)
Okay, I think that's all. Hope that didn't come off too strongly. I
don't mean to discourage contributions, but please ask around a bit
before checking in bundles with ~1300 items.
Thanks,
Jacob Rus
I'm looking for help implementing a few features for my screenwriting
bundle.
The features I'm looking to implement are beyond my knowledge, but
I'm sure will be trivial to a ruby-master or something. So if you're
interested in helping me out, please drop me a line and I'll explain
what I want to do.
The reason I don't just ask you how to do these things is that I'm
afraid they might be too basic for this list.
I've always wondered about what kinds of questions are appropriate
for this list. I'm hesitant to ask basic code questions regarding
things I'm trying to do in TextMate but have nothing to do with
TextMare per-se; for example, a complex regexp problem one might have.
Clearly we don't want this list to become littered with help requests
for things that are not directly TextMate-related. But at the same
time, I would never have been able to create the bundle I have
without the patient explanations of so many of the people on this list.
So my question is, where is the line? I'd be curious to know what you
all think.
--oliver
Didn't notice the filename completion until Thomas Aylott mentioned
it in a recent email. Thanks Thomas! One problem though. If I type `/
Users/` and hit control tab I am offered the following options in the
dialogue menu:
Incomplete/
Shared/
~/
I thought the tilde would expand when the path was inserted, but it
didn't. And if I type `/Users/` followed by the first few letters of
the name of my home directory, all that the menu offers me is the
tilde which, again, doesn't expand when the path is inserted.
All the best, Mark
I got a new machine recently and one of the first things I installed
was obviously TextMate. This was before I had installed anything in
(or even created) `/usr/local`. I realized this when TextMate offered
to create the `mate` symlink in `/usr/bin`. No big deal. I declined,
created `/usr/local/bin`, and started TextMate again. It still wanted
to put the link in `/usr/bin` and `/usr/local/bin` didn't appear on
the drop-down list. So, I just choose "Other…" and specified a path.
Still no big deal. It's a one-time operation after all.
But yesterday, I tried to use the Subversion bundle for the first
time on the new machine and it couldn't find `svn`. I typed `echo
$PATH` and hit ⌃R and saw that `/usr/local/bin` hadn't made it to
this list either (while it does appear on another machine I've been
using for a while).
Now, I know I can fix these problems one at a time as they come up
(specify a path for `mate`, set a path in `$TM_SVN`, etc) but I'd
rather not do that. Plus there may be other ramifications that aren't
obvious and I won't know they need fixing. This applies to newly
created users as well, so it seems to be a global thing, but I can't
figure out where. I see nothing in `/Library` that would affect
TextMate and I know Allan has a rule about the app not modifying
itself in `/Applications`.
Does anyone know how to make TextMate generally/globally aware that `/
usr/local/bin` exists now (as though it existed the first time I ran
TextMate)? Thanks in advance.
---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.
Folks;
I am trying to use the blogging bundle with LiveJournal's XMLRPC interface.
I run through the setup process just fine, but then when I go to
"Fetch Post" , the bundle prompts me for my password correctly and
seems to be starting to connect just fine, but then blows up with the
following:
---
/usr/lib/ruby/1.8/xmlrpc/parser.rb:154:in `fault': wrong
fault-structure: {"faultCode"=>"Client", "faultString"=>"Failed to
access class (metaWeblog): Can't locate metaWeblog.pm in @INC (@INC
contains:) at (eval 334)[/usr/share/perl5/SOAP/Lite.pm:2261] line
3.\n"} (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/parser.rb:562:in `tag_end'
from /usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:26:in `parse'
from /usr/lib/ruby/1.8/rexml/document.rb:171:in `parse_stream'
from /usr/lib/ruby/1.8/xmlrpc/parser.rb:722:in `parse'
from /usr/lib/ruby/1.8/xmlrpc/parser.rb:462:in `parseMethodResponse'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/metaweblog.rb:31:in
`getRecentPosts'
from /Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:547:in
`fetch'
from /Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:546:in
`popen'
from /Library/Application
Support/TextMate/Support/lib/progress.rb:11:in `call_with_progress'
from /Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:546:in
`fetch'
from /tmp/temp_textmate.wBuvVB:3
--
Do I need to install some special Perl module somewhere?
Thanks!
-Chris
--
Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail: cpatti(a)gmail.com
"The greatest dangers to liberty lurk in insidious encroachment by men of
zeal,well-meaning but without understanding."-- Justice Louis O. Brandeis
(Olmstead vs. United States)
⌘R seems to be broken for Perl scripts at the moment. After an svn
up in /Library/Application Support/TextMate/Bundles attempts to run a
Perl script yield
/Library/Application Support/TextMate/Bundles/Perl.tmbundle/Support/
PerlMate/perlmate.rb:1:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/
scriptmate (LoadError) from /Library/Application Support/TextMate/
Bundles/Perl.tmbundle/Support/PerlMate/perlmate.rb:1
Is it just me?
--
Andy Armstrong, hexten.net
Hi,
I have a small question.
If I write a command which should do something with highlighted text
of my current document I can specify within the myCommand.tmCommand
the plist key 'inputFormat' as 'xml' (e.g. Create HTML from Document).
OK.
But now I want to write a script which should be called by the Web
Preview option 'Pipe text through'. Here I don't get the content of my
current document with xml markups for syntax highlighting.
Is there a way without changing TM's source code to receive these xml markups?
Many thanks in advance !!!!!!!!!! ;)
Hans
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
This is a test signed message because subtleGradient insisted I send
one more to the list.
If you aren't subtleGradient, you can ignore this.
Oh, and I'll try and remember to stop sending signed messages to the
list in the future.
--
Kevin Ballard
http://kevin.sb.org
kevin(a)sb.org
http://www.tildesoft.com
Hi Haris
Trouble: I do the following.
1-quit and relaunch tm (just to be sure)
2-create a New from template GTD file, the default Sample is ok
3-save as untitled.gtd on the desktop
4-add some garbage text at the top of the file (before the first project).
(Now Haris you will say: my fault, since nothing is expected to
work with extraneous text. Anyway)
5-execute the Current Actions command; it works
perfectly.
6-click on an action in the HTML window: the WRONG action
is selected in the gdt window. The selected lined is off
by the number of extraneous added lines, so this must be some
simple problem in the ruby script. I know it's my fault, but
surely you know how to fix it easily.....
Request: what about recurring events/actions?
I know, you will say GTD is not for this kind of
stuff, we have remind (or iCal) etc etc, but, please?
Let me show you an example: a permanent project
"pay taxes". I can put in it all kind of recurrent taxes;
each one has a due date, which is the same every year;
moreover, I would like to remember about it in advance,
say, two weeks. It would be so nice to just write e.g.
2006-12-20+1Ya2W
which means, due on December 20, every year, please
start nagging me 2 weeks in advance.
Maybe this is pushing too much the GTD bundle? (but
it should certainly be a pleasure to code ;)
Thanks,
Piero
On Dec 5, 2006, at 10:23 AM, Lloyd Williams wrote:
> Kevin, I am sorry but I do not understand the two replies. Please
> explain. I am not a programmer. I am a writer who likes the power
> of TextMate. Thank you. Lloyd
Lloyd,
I am sympathetic: I too am mostly a writer who understands only a
little of what transpires on this list. That said, Kevin is
describing to you ways of getting from MarkDown/MultiMarkDown to PDF
using only free and open source materials. In this case, he is
recommending that you use a converter to transform your MarkDown
formatted files into LaTeX files. Think of Latex -- I hate doing all
the capitals, so you only get them once -- as another form of markup,
like HTML or MarkDown. It is a very precise form of markup long used
by many in the sciences for getting the kind of outputs that others
had access to only when word processers developed robust page-layout
capabilities became widely available.
There are a wide variety of Latex installations available, you need
only google Latex and Mac to discover them, or perhaps someone on
this list will point you to a package particularly easily adapted/
adopted by a newbie.
I can't help you there. I use Mellel when projects get to be a of
certain structure or size.
I do enjoy doing a lot of writing in TextMate using the MarkDown
formats, if only I could get some form of code-folding -- I've been
meaning to ask this list about the possibility of using two returns
as a way to cue the end of header and how one would include that
within the parsing language in the bundle. (One of my goals for next
year is to teach myself PERL -- I'm a folklorist, so PERL's language-
oriented abilities are useful in and of themselves.)
I hope this helps. My apologies for blurting out my own question in
the middle of my answer. I will re-post it if it doesn't make any
sense at another time on this list.
john
I googled for it but I didn't find the correct answer.
Is it possible to control TM via AppleScript à la
tell app "TextMate"
activate
end tell
tell app "System Events"
tell process "TextMate.app"
tell menu bar 1
tell menu bar item "Help"
tell menu "Help"
click menu item "Release Notes"
end tell
end tell
end tell
end tell
end tell
I tried several things but I couldn't find a solution and it seems to
me that this is not possible.
Many thanks for every hint.
-Hans
I'm starting to want to edit every possible piece of text in my
system with TextMate. I use DevonThinkPro for certain things, and
type a lot of stuff into its Rich Text page type, but when I then do
Edit in TextMate, it comes in as Plain Text. All I want from the
RichText is to occasionally make something bold or change the font
size. Is there a page type in TextMate that will let me do that and
then save it back to DevonThinkPro and look correct there?
Thanks,
Ernest
Greetings,
I'm in the process of evaluating TextMate. Needless to
say, great.
Some of my work involves Mathematica. I have this
ambitious notion that TM with TerminalMate
(eventually) can be used to interface with the M'ca
computational engine.
What's missing is a tmbundle to start. I'm assuming
getting to the point of just highlighting syntax is
doable.
Typically, efficient M'ca is Lispish, with recursive
headers, eg, Header1[Header2[Header3 ]]] And the
bracketing syntax is pretty well formed:
(term) parentheses for grouping
f[x] square brackets for functions
{a, b, c} curly braces for lists
v[[i]] double brackets for indexing
//
Can someone point me in the right direction wrt an
existing bundle that has similar syntax so that I can
independently figure this out?(MatLab, btw, is largely
imperative.)
Is this a waste of time I wonder?
It seems that people have had sporadic success with TM
in the functional space. Someone feel free to correct
me.
//
Also, does anyone have suggestions about navigating
between multiline functions in C++? The syntax
highlighting/function hopping does not work in those
cases.
Thanks!
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
Hello. I have a tab trigger specified in latex, but it doesn't
appear to work any longer. It is set in the snippet to have a tab
trigger, and I am in the right scope, i believe (text.latex).
Moreover, it used to work. Is there some meta preference that I may
have turned off?
Kevin if it would be easier you may send it directly to my email at
wlw3(a)mac.com. Sorry for being so difficult. I do not understand why I
can read all the others and not your. I also can not figure how to
reply and keep it in the thread.
Thank you,
Lloyd
Will you please resend me your original response from Tue Dec 5
16:09:54 GMT 2006.
I do not have it and everyone else was quoting and referencing it.
Thank you,
Lloyd
Kevin,
I am reading these from the TxMt archives on the web with both
FireFox and Safari and every message you have posted has looks the
same as the one I sent to you. All the other messages are readable.
Thought you would want to know.
Lloyd