Just getting my feet wet with TextMate 2 and already I've got a
question. What's the purpose of the checkboxes next to the names of
bundles if they don't actually disable the bundle?
For example, I still see Apache and AppleScript in the Bundles and Gear
menus even though I have unchecked Apache and AppleScript in the
preferences.
Similarly, I've tried unchecking in the Bundle editor and that doesn't
help either.
Is there a correct way to eliminate unused bundles? Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
I am running a rakefile directly from Ruby, in order to run some tests.
The tests work fine when run individually from inside TextMate 2, but
some of them break when run thru the rakefile directly from Ruby. The
reason is that those tests use the TM_SUPPORT_PATH environment variable.
That variable doesn't exist when we are running the rakefile directly
from Ruby.
Is there a way my rakefile script can ask TextMate for the value of its
TM_SUPPORT_PATH even though it is not running inside TextMate? I can
solve the problem by just hard-coding the answer into my rakefile, but
that is not a portable solution.
(Indeed, the issue arose in the first place because I *was* hard-coding
the answer into my rakefile, using TextMate 1; but in TextMate 2, the
value of TM_SUPPORT_PATH has changed. That's why I'd like a way to ask
TextMate directly "what's your TM_SUPPORT_PATH?")
Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Using TM2 release 9497
When I attempt to save a file (demo.php) TM2 reports that it is Unable
to save file. Check console for details.
When I look in Console, I didn't find an entry from this date from
Textmate. Where, specifically, should I look for what is happening? The
file itself can be replaced, but it would be nice to understand what's
happening. Can anyone explain?
--Lewy
Dave Baldwin wrote (a long time ago, Mon Aug 19 08:17:37 UTC 2013 to be exact):
> Has anyone had any experience with the asciidoc bundle
> https://github.com/zuckschwerdt/asciidoc.tmbundle with Textmate 2 or has a
> better one they are prepared to share?
>
> This bundle has had little work done on it in the last 3 years so was
> written with Textmate 1 in mind. Also since then a nicer toolchain for
> processing asciidoc files called asciidoctor has been written and is being
> actively developed.
I've been writing more or less continuously using the asciidoc TextMate bundle since May 2010, so that's 3-and-a-half years, during which I've produced and edited thousands of pages:
http://oreilly.com/catalog/9781449397296http://shop.oreilly.com/product/0636920023562.dohttp://shop.oreilly.com/product/0636920029717.dohttp://shop.oreilly.com/product/0636920032465.dohttp://shop.oreilly.com/product/0636920031017.do
Here's one of those books in HTML form:
http://www.apeth.com/iOSBook/
Behind the scenes, all of that is TextMate and the AsciiDoc bundle, as I explain here:
http://www.apeth.net/matt/iosbooktoolchain.html
I also gave a talk on this workflow at OSCON 2012 in Portland, OR.
One of the nice things about TextMate is that you can modify a bundle easily. I've changed some regexes and added some snippets and keyboard shortcuts to the original AsciiDoc bundle, and I've added a couple of commands (I like to render into my browser, plus it makes a difference whether we're rendering a chapter or a book as a whole). But in general I would have to say that I have been far, far, *far* more nimble and productive with these tools than I would have been in any other way. Indeed, this experience has made me a firm believer in pure text and light markup; I never want to go back to a WYSIWYG editor, not even Frame.
I do not understand the part of your question that draws a distinction between TextMate 1 and TextMate 2. The bundle was written for TextMate 1, obviously, but TextMate 2 doesn't break it or anything. I don't see how the bundle would be made to differ significantly for TextMate 2, or what difference TextMate 2 would have to its features. Yes, this bundle is crusty and not terribly well written, but the point is to use TextMate as a nimble writing tool for producing DocBook output, and this bundle lets me do that just fine, as my experience proves beyond the slightest doubt.
Feel free to contact me directly via email if you want to talk about my modifications to the bundle, but I assure you they are very minor. I am not a sophisticated bundle writer, and I have no time to play with the bundle if I don't have to; I'm too busy using it to get real work done. m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
If I highlight ³test test one² , then go to Bundles > Text > Sorting > Sort
Selection & Remove Duplicates, all that happens is entire lines becomes
highlighted and a new line inserted beneath. Is this an error?
Thanks
Ross
For my work I often diff dumps of databases, and sometimes those files have
super long lines without newline character; for example, an insert
statement for millions of record all on a single line. When I open such a
file, TextMate generally freezes. It would be nice if TM can handle working
with such file efficiently, or at least warn me before trying to open such
a file.
hi,
i wonder if it's possible to "exclude" scopes using the "scope
selector" setting for a snippet. for example:
the PHP bundle defines a tab-trigger for "array" that expands to $...
= array ... thats fine as long as i am really in the scope
"source.php". but when i am writing documentation (phpdoc -- which is
in fact "source.php", too) it's really annoying when the 'array'
keyword and such get's expanded.
i wonder what's the best solution to solve this ... would i have to
define a scope "phpdoc" and overwrite the tab-triggers in there or is
there any other solution?
thanks in advance,
harald
In a .R file, I have a bunch of headers like this:
# this is a header
-----------------------------------------------------------
How can I get these headers to show in symbol list and fold? I¹ve tried
changing the foldingStartMarker/foldingStopMarker line without success, and
I cannot find the showInSymbolList line in the R language grammar.
Thanks
Ross